/** * @covers phpDocumentor\Parser\Configuration::getTarget */ public function testIfTargetIsReturned() { // Arrange $expected = 'Target'; $property = new \ReflectionProperty('phpDocumentor\\Parser\\Configuration', 'target'); $property->setAccessible(true); $property->setValue($this->fixture, $expected); $property->setAccessible(false); // Act && Assert $this->assertSame($expected, $this->fixture->getTarget()); }