/** * @covers ::format */ public function test_format_hollow_not_hollow() { // Given $dt = new DateTime(''); // When $dt->setHollow(false); // Then $this->assertSame('1970-01-01 00:00:00', $dt->format()); }