public function testDefaultDateIsNow() { $vatResponse = new CheckVatResponse(); $this->assertInstanceOf('\\DateTime', $vatResponse->getRequestDate()); $this->assertSame(date('Y-m-dP'), $vatResponse->getRequestDate()->format('Y-m-dP')); }