/** * @covers ::now * @covers ::getTimestamp */ public function test_now() { // When $now = time(); // Then $this->assertSame($now, DateTime::now()->getTimestamp()); }