/** * 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->VALID_SPORTLEAGUE, $this->VALID_SPORTNAME); $sport->delete($this->getpdo()); }