예제 #1
0
 public function testtShownPropertiesRemove()
 {
     //add
     $p = "http://abc";
     $this->_instances->addShownProperty($p);
     //result of add is checked in testShownPropertiesAdd1
     $rA = $this->_instances->removeShownProperty($p, false);
     $this->assertNoShownProperties($this->_instances);
     $this->assertTrue($rA);
     //remove non existing
     $rB = $this->_instances->removeShownProperty($p, false);
     $this->assertFalse($rB);
 }