| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 44 | public function testNewTimeValueForOutOfRangeTimestamp() { |
||
| 45 | |||
| 46 | $instance = new DataValueDeserializer( 'foo' ); |
||
| 47 | |||
| 48 | $property = new DIProperty( 'Bar' ); |
||
| 49 | $property->setPropertyTypeId( '_dat' ); |
||
| 50 | |||
| 51 | $this->assertNotEquals( |
||
| 52 | DITime::doUnserialize( '2/-200' ), |
||
| 53 | $instance->newDataValueFrom( $property, '-2000101000000' ) |
||
| 54 | ); |
||
| 55 | } |
||
| 56 | |||
| 71 |