/**
  * @test
  * @group metadata
  * @group organization
  */
 public function deserializing_a_serialized_organization_url_list_results_in_an_equal_value_object()
 {
     $urlOne = new OrganizationUrl('https://www.openconext.org', 'en');
     $urlTwo = new OrganizationUrl('https://www.domain.invalid', 'en');
     $original = new OrganizationUrlList(array($urlOne, $urlTwo));
     $deserialized = OrganizationUrlList::deserialize($original->serialize());
     $this->assertTrue($original->equals($deserialized));
 }
 public function serialize()
 {
     return array('organization_names' => $this->organizationNames->serialize(), 'organization_display_names' => $this->organizationDisplayNames->serialize(), 'organization_urls' => $this->organizationUrls->serialize());
 }