/**
  * test creating a PlayerStatistic and then deleting it
  **/
 public function testDeleteValidPlayerStatistic()
 {
     // count the number of rows and save it for later
     $numRows = $this->getConnection()->getRowCount("playerStatistic");
     // create a new Player Statistic and insert to into mySQL
     $playerStatistic = new PlayerStatistic($this->game->getGameId(), $this->player->getPlayerID(), $this->team->getTeamId(), $this->statistic->getStatisticId(), $this->VALID_PLAYERSTATISTICVALUE);
     $playerStatistic->insert($this->getPDO());
     // Delete the Player from mySQL
     $this->assertEquals($numRows + 1, $this->getConnection()->getRowCount("playerStatistic"));
     $playerStatistic->delete($this->getPDO());
     // grab the data from mySQL and enforce the fields match our expectations
     $pdoPlayerStatistic = PlayerStatistic::getPlayerStatisticByPlayerStatisticGameIdAndPlayerStatisticPlayerIdAndPlayerStatisticTeamIdAndPlayerStatisticStatisticId($this->getPDO(), $this->game->getGameId(), $this->player->getPlayerId(), $this->team->getTeamId(), $this->statistic->getStatisticId());
     $this->assertNull($pdoPlayerStatistic);
     $this->assertEquals($numRows, $this->getConnection()->getRowCount("playerStatistic"));
 }