Exemple #1
0
 /**
  * test grabbing a sport by a name that does not exist
  **/
 public function testGetInvalidSportBySportName()
 {
     // grab a sport id that exceeds the maximum allowable sport id
     $sport = Sport::getSportBySportName($this->getPDO(), "This name doesn't exist");
     //$this->assertCount(0, $sport);
     $this->assertNull($sport);
 }