Exemplo n.º 1
0
 /**
  * Test passing null values to removeInstanceFromPool().
  */
 public function testRemoveInstanceFromPool_Null()
 {
     // if it throws an exception, then it's broken.
     try {
         BookPeer::removeInstanceFromPool(null);
     } catch (Exception $x) {
         $this->fail("Expected to get no exception when removing an instance from the pool.");
     }
 }