Actions
Feature #72062
closedMocking of concrete methods in abstract classes
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Tests
Target version:
-
Start date:
2015-12-04
Due date:
% Done:
100%
Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:
Description
TYPO3 allows unit testing of protected methods in abstract classes, PHPUnit allows mocking of concrete methods in abstract classes.
I stumbled upon a case where I needed the best of both worlds, so I'd like to extend BaseTestCase::getAccessibleMockForAbstractClass by an additional parameter for specifying which methods should be mocked.
Updated by Gerrit Code Review almost 9 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/45130
Updated by Anonymous almost 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset f81f223e7becc2c80f8d56922b951108ff44929a.
Actions