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