| Conditions | 1 |
| Paths | 1 |
| Total Lines | 6 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 30 | public function testParseWithValidInputs( $value, DataValue $expected ) { |
||
| 31 | $actual = $this->getInstance()->parse( $value ); |
||
| 32 | $msg = json_encode( $actual->toArray() ) . " should equal\n" |
||
| 33 | . json_encode( $expected->toArray() ); |
||
| 34 | $this->assertTrue( $expected->equals( $actual ), $msg ); |
||
| 35 | } |
||
| 36 | |||
| 51 |