| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | public function check_name_setup() { |
||
| 12 | $round = new \TournamentGenerator\Round('Round name 1'); |
||
| 13 | |||
| 14 | $this->assertEquals('Round name 1', $round->getName()); |
||
| 15 | $this->assertEquals('Round name 1', (string) $round); |
||
| 16 | |||
| 17 | $round->setName('Round name 2'); |
||
| 18 | |||
| 19 | $this->assertEquals('Round name 2', $round->getName()); |
||
| 20 | } |
||
| 23 |