public function NAttribute() { $vcard = new VObject\Component\VCard(); $vcard->add('N', ['Werner', 'Lukas', ['Roland', 'Thomas', 'Alfred', 'Joseph'], 'B.Sc.', 'Informatik']); $contact = new ContactInformation(); $contact->setLastname('Werner'); $contact->setFirstname('Lukas'); $contact->setAdditionalNames(['Roland', 'Thomas', 'Alfred', 'Joseph']); $contact->setHonorificPrefixes('B.Sc.'); $contact->setHonorificSuffixes('Informatik'); $this->assertEquals($vcard->serialize(), $this->object->convert($contact)->serialize()); }