/** * @covers Time_DateTime::parse_clib */ public function testParse_clib() { $format = '%d/%m/%Y %H:%M:%S'; $this->assertInstanceOf('Time_DateTime', $this->object->parse_clib(strftime($format), $format)); $this->assertInstanceOf('Time_DateTime', $this->object->parse_clib(strftime($format), '')); $this->assertNull($this->object->parse_clib('', $format)); }