/** * @Given he should be registered since :registrationDate */ public function hisRegistrationDateShouldBe($registrationDate) { Assert::eq(new \DateTime($registrationDate), $this->showPage->getRegistrationDate(), 'Customer registration date should be "%s", but it is not.'); }