Problem/Motivation
In #2409647: Figure out if ContainerDerivativeDiscoveryDecoratorTest actually covers getDerivativeFetcher() a test was added to cover ContainerDerivativeDiscoveryDecorator::getDefinitions()
.
Unfortunately, ContainerDerivativeDiscoveryDecorator
doesn't have a getDefinitions()
method to cover; it's parent class does.
So the test is in the wrong place, really.
Proposed resolution
Move the ContainerDerivativeDiscoveryDecoratorTest::testGetDefinitions()
test method to the DerivativeDiscoveryDecoratorTest
test class.
Ensure that @coversDefaultClass
and @covers
annotations are correct.
Remaining tasks
Bonus points: Write a test that covers ContainerDerivativeDiscoveryDecorator::getDeriver()
.
Comments
Comment #2
Mile23