/** * @test * @group metadata * @group contactperson */ public function contact_type_can_be_retrieved() { $type = ContactType::technical(); $contactPerson = new ContactPerson($type, new EmailAddressList(array(new EmailAddress('*****@*****.**'))), new TelephoneNumberList(array(new TelephoneNumber('123456')))); $this->assertSame($type, $contactPerson->getContactType()); }