public function testWhenMissingDobParamsThenGetBirthDayReturnNull() { $profile = new Application_Model_Profile(['data' => ['dob' => '']]); $this->assertNull($profile->getBirthDay()); $profileOther = new Application_Model_Profile(['data' => []]); $this->assertNull($profileOther->getBirthDay()); }