| Conditions | 3 |
| Paths | 3 |
| Total Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 35 | public function testParse() |
||
| 36 | { |
||
| 37 | $parser = $this->buildParser(); |
||
| 38 | |||
| 39 | foreach ($this->getParseValueMap() as $origin => $expectedParsed) { |
||
| 40 | foreach ($this->getTypes() as $type) { |
||
| 41 | $property = static::getMockBuilder(\ReflectionProperty::class)->disableOriginalConstructor()->getMock(); |
||
| 42 | $parsed = $parser->toObjectValue($origin, $type, $property, new \stdClass()); |
||
| 43 | static::assertEquals($expectedParsed, $parsed); |
||
| 44 | } |
||
| 45 | } |
||
| 46 | } |
||
| 47 | } |
||
| 48 |