Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
37 | public function testReturnValues(): void |
||
38 | { |
||
39 | $stub = $this->createMock(Dice::class); |
||
40 | $hand = new DiceHand(); |
||
41 | $hand->add(clone $stub); |
||
42 | $res = $hand->getValues(); |
||
43 | $this->assertNotEmpty($res); |
||
44 | |||
45 | $hand->add(clone $stub); |
||
46 | $res = $hand->getNumberDices(); |
||
47 | $this->assertEquals(2, $res); |
||
48 | |||
49 | $res = $hand->getString(); |
||
50 | $this->assertNotEmpty($res); |
||
51 | |||
54 |