/** * test deleting a Team that does not exist * * @expectedException \PDOException **/ public function testDeleteInvalidTeam() { // create a new Team and try to delete it without actually inserting it $team = new Team(null, $this->sport->getSportId(), $this->VALID_TEAMAPIID, $this->VALID_TEAMCITY, $this->VALID_TEAMNAME); $team->delete($this->getPDO()); }