Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
36 | public function testInvoke() |
||
37 | { |
||
38 | $frontYaml = $this->factory->__invoke($this->getContainer(), Parser::class); |
||
39 | $this->assertInstanceOf(Parser::class, $frontYaml); |
||
40 | $reflectionObject = new \ReflectionObject($frontYaml); |
||
41 | $reflectionProperty = $reflectionObject->getProperty('markdownParser'); |
||
42 | $reflectionProperty->setAccessible(true); |
||
43 | $this->assertInstanceOf(CommonMarkParser::class, $reflectionProperty->getValue($frontYaml)); |
||
44 | } |
||
45 | } |