1 | <?php |
||
11 | class AbstractRuleTest extends \PHPUnit_Framework_TestCase |
||
12 | { |
||
13 | /** @var \Tests\Unit\GameDomain\Rule\Mocks\TestRule */ |
||
14 | protected $sut; |
||
15 | |||
16 | /** |
||
17 | * {@inheritDoc} |
||
18 | */ |
||
19 | public function setUp() |
||
23 | |||
24 | /** |
||
25 | * @dataProvider getSatisfiedByData |
||
26 | * |
||
27 | * @param \GameDomain\Round\Step\Answer $answer |
||
28 | * @param int $number |
||
29 | * @param bool $expectedResult |
||
30 | */ |
||
31 | public function testIsSatisfiedBy(Answer $answer, $number, $expectedResult) |
||
35 | |||
36 | /** |
||
37 | * @return array |
||
38 | */ |
||
39 | public function getSatisfiedByData() |
||
48 | } |
||
49 |