| @@ 74-90 (lines=17) @@ | ||
| 71 | /** |
|
| 72 | * @param object $object |
|
| 73 | */ |
|
| 74 | private function checkLoadedProperties($object): void |
|
| 75 | { |
|
| 76 | $this->assertInstanceOf( |
|
| 77 | ConfigurationInterface::class, |
|
| 78 | Assert::getObjectAttribute($object, 'configuration') |
|
| 79 | ); |
|
| 80 | ||
| 81 | $this->assertInstanceOf( |
|
| 82 | ParserStorageInterface::class, |
|
| 83 | Assert::getObjectAttribute($object, 'parserStorage') |
|
| 84 | ); |
|
| 85 | ||
| 86 | $this->assertInstanceOf( |
|
| 87 | ReflectionFactoryInterface::class, |
|
| 88 | Assert::getObjectAttribute($object, 'reflectionFactory') |
|
| 89 | ); |
|
| 90 | } |
|
| 91 | ||
| 92 | private function getReflectionFactory(): ReflectionFactory |
|
| 93 | { |
|
| @@ 90-106 (lines=17) @@ | ||
| 87 | /** |
|
| 88 | * @param object $object |
|
| 89 | */ |
|
| 90 | private function checkLoadedProperties($object): void |
|
| 91 | { |
|
| 92 | $this->assertInstanceOf( |
|
| 93 | ConfigurationInterface::class, |
|
| 94 | Assert::getObjectAttribute($object, 'configuration') |
|
| 95 | ); |
|
| 96 | ||
| 97 | $this->assertInstanceOf( |
|
| 98 | ParserStorageInterface::class, |
|
| 99 | Assert::getObjectAttribute($object, 'parserStorage') |
|
| 100 | ); |
|
| 101 | ||
| 102 | $this->assertInstanceOf( |
|
| 103 | ReflectionFactoryInterface::class, |
|
| 104 | Assert::getObjectAttribute($object, 'reflectionFactory') |
|
| 105 | ); |
|
| 106 | } |
|
| 107 | } |
|
| 108 | ||