[FEATURE] Mocking of concrete methods in abstract classes 30/45130/2
authorStefan Rotsch <stefan.rotsch@aoe.com>
Fri, 4 Dec 2015 14:40:13 +0000 (15:40 +0100)
committerHelmut Hummel <helmut.hummel@typo3.org>
Sun, 13 Dec 2015 13:44:22 +0000 (14:44 +0100)
commitf81f223e7becc2c80f8d56922b951108ff44929a
tree555033073de1c40187ea03ac754a9b3bf57ecf80
parent40922fddf944cc2b38fd2a967abd298c6611f8e9
[FEATURE] Mocking of concrete methods in abstract classes

Allows mocking of concrete methods when testing protected functions
in abstract classes.

Introduces a new parameter which will be passed to the corresponding
PHPUnit method when creating a mock object of an abstract class.

Change-Id: I9cbe510633300184666c6204a4d0c5be7d417ef4
Resolves: #72062
Releases: master
Reviewed-on: https://review.typo3.org/45130
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
typo3/sysext/core/Tests/BaseTestCase.php