public function testTournamentProperty() { $tournament = $this->getMock('Application\\Model\\Entity\\Tournament'); $this->plannedMatch->setTournament($tournament); $this->assertSame($tournament, $this->plannedMatch->getTournament()); }