[BUGFIX] Allow passing null for $methods in getAccessibleMock 34/47434/2
authorOliver Klee <typo3-coding@oliverklee.de>
Wed, 30 Mar 2016 13:52:55 +0000 (15:52 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Wed, 30 Mar 2016 17:04:14 +0000 (19:04 +0200)
commitdb336a33f8b6b9853066bd1898893f4fe03fb24b
treedf3637e9b447e2c20c56ffb22b0e3447001a7ec8
parentc6d12307dc1de297e373126c181e013216774e6a
[BUGFIX] Allow passing null for $methods in getAccessibleMock

The method getMock() in the parent class also allows null for
$methods, meaning "mock no methods".

Releases: master, 7.6
Resolves: #75316
Change-Id: I7e14d4bc4082b41ed52ab967df87876a3755a105
Reviewed-on: https://review.typo3.org/47434
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Tests/BaseTestCase.php