/** * @covers ::format */ public function test_format_custom_format() { // When $dt = new DateTime('1956-11-12'); // Then $this->assertSame('1956:11:12', $dt->format('Y:m:d')); }