/** * test deleting a Crew that does not exist * * @expectedException \PDOException **/ public function testDeleteInvalidCrew() { //create a Crew and try to delete it without actually inserting it $crew = new Crew(null, $this->company->getCompanyId(), $this->VALID_CREWLOCATION); $crew->delete($this->getPDO()); }