| 1 | <?php |
||
| 10 | class AbstractRulesSetTest extends \PHPUnit_Framework_TestCase |
||
| 11 | { |
||
| 12 | /** @var \GameDomain\Rule\AbstractRulesSet|\PHPUnit_Framework_MockObject_MockObject */ |
||
| 13 | protected $sut; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * {@inheritDoc} |
||
| 17 | */ |
||
| 18 | public function setUp() |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @expectedException \DomainException |
||
| 35 | * @expectedExceptionMessage No valid answer can be generated from the current rules set. |
||
| 36 | */ |
||
| 37 | public function testDomainExceptionIsThrownOnEmptyGameRules() |
||
| 45 | } |
||
| 46 |