Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
57 | public function testNewTimeValueForRawTimeFromat() { |
||
58 | |||
59 | $instance = new DataValueDeserializer( 'foo' ); |
||
60 | |||
61 | $property = new DIProperty( 'Bar' ); |
||
62 | $property->setPropertyTypeId( '_dat' ); |
||
63 | |||
64 | $this->assertEquals( |
||
65 | DITime::doUnserialize( '2/-200' ), |
||
66 | $instance->newDataValueFrom( $property, array( 'raw' => '2/-200' ) )->getDataItem() |
||
67 | ); |
||
68 | } |
||
69 | |||
71 |