public function testReturnsRightJSONObject()
 {
     $this->assertEquals($o = new \ChristianBudde\Part\controller\json\MailAddressObjectImpl($this->address), $this->address->jsonObjectSerialize());
     $this->assertEquals($o->jsonSerialize(), $this->address->jsonSerialize());
 }
 private function addInstance(AddressImpl $instance)
 {
     $this->addressList[$instance->getLocalPart()] = $instance;
     $instance->attachObserver($this);
 }