Ejemplo n.º 1
0
 public function testAddRemoveUserAndUpdateUsernameIsOk()
 {
     $this->address->addOwner($this->owner1);
     $this->address->removeOwner($this->owner1);
     $this->owner1->setUsername("bob");
     $this->assertFalse($this->address->isOwner($this->owner1));
     $this->assertEquals(0, count($this->address->listOwners()));
 }