public function testValidateExpiryYearRequired() { $this->card->setExpiryYear(null); $this->card->validate(); }