Exemplo n.º 1
0
 /**
  * test deleting a Sport that does not exist
  *
  * @expectedException PDOException
  **/
 public function testDeleteInvalidSport()
 {
     // Create a Sport and try to delete it without actually inserting it
     $sport = new Sport(null, $this->sport->getSportId());
     $sport->delete($this->getPDO());
 }