Beispiel #1
0
 /**
  */
 public function testRemove()
 {
     $user = new TestUser(1, 'joe2083');
     $user2 = new TestUser(2, 'bar201');
     $this->assertFalse($this->object->has($user));
     $this->object->add($user);
     $this->assertTrue($this->object->has($user));
     $this->object->remove($user);
     $this->assertFalse($this->object->has($user));
 }