/** * Test the ability to load round info from an active tournament * @covers BBTournament::rounds */ public function test_rounds() { $this->get_tournament_inactive(); $this->assertObjectFormat($this->object->rounds(), array('winners' => 'array', 'bronze' => 'array')); $this->assertObjectFormat($this->object->rounds->winners[0], array('best_of', 'wins_needed')); }