| Total Complexity | 2 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | class DiceGraphicTest extends TestCase |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * testCreateObject |
||
| 15 | * |
||
| 16 | * Construct object and verify that the object has the expected |
||
| 17 | * properties, use no arguments. |
||
| 18 | * |
||
| 19 | * @return void |
||
| 20 | */ |
||
| 21 | public function testCreateObject(): void |
||
| 22 | { |
||
| 23 | $diceGraphic = new DiceGraphic(); |
||
| 24 | $this->assertInstanceOf(DiceGraphic::class, $diceGraphic); |
||
| 25 | |||
| 26 | $res = $diceGraphic->getString(); |
||
| 27 | $this->assertNotEmpty($res); |
||
| 28 | } |
||
| 29 | |||
| 30 | /** |
||
| 31 | * testGetString |
||
| 32 | * |
||
| 33 | * Test the toString method |
||
| 34 | * |
||
| 35 | * @return void |
||
| 36 | */ |
||
| 37 | public function testGetString(): void |
||
| 46 | } |
||
| 47 | } |
||
| 48 |