/** * Testing the getUnixValue() method. * * @since 1.2.1 */ public function testGetUnixValue() { $timestamp = new Timestamp('2012-12-18 11:30:00'); $this->assertEquals(1355830200, $timestamp->getUnixValue(), 'testing the getUnixValue() method'); }