/**
  * @test
  * @group metadata
  * @group organization
  *
  * @dataProvider \OpenConext\Value\TestDataProvider::notArray
  * @expectedException InvalidArgumentException
  *
  * @param mixed $notArray
  */
 public function deserialization_requires_an_array($notArray)
 {
     OrganizationDisplayNameList::deserialize($notArray);
 }
Exemplo n.º 2
0
 public function serialize()
 {
     return array('organization_names' => $this->organizationNames->serialize(), 'organization_display_names' => $this->organizationDisplayNames->serialize(), 'organization_urls' => $this->organizationUrls->serialize());
 }