| Total Complexity | 3 |
| Total Lines | 59 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 12 | class PlayerTest extends TestCase |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * testCreateObject |
||
| 16 | * |
||
| 17 | * Construct object and verify that the object has the expected |
||
| 18 | * properties, use no arguments. |
||
| 19 | * |
||
| 20 | * @return void |
||
| 21 | */ |
||
| 22 | public function testCreateObject(): void |
||
| 23 | { |
||
| 24 | $player = new Player(); |
||
| 25 | $this->assertInstanceOf(Player::class, $player); |
||
| 26 | } |
||
| 27 | |||
| 28 | /** |
||
| 29 | * testBooleans |
||
| 30 | * |
||
| 31 | * Test the boolean values |
||
| 32 | * |
||
| 33 | * @return void |
||
| 34 | */ |
||
| 35 | public function testBooleans(): void |
||
| 51 | } |
||
| 52 | |||
| 53 | /** |
||
| 54 | * testGet |
||
| 55 | * |
||
| 56 | * Test the get function |
||
| 57 | * |
||
| 58 | * @return void |
||
| 59 | */ |
||
| 60 | public function testGet(): void |
||
| 73 |