| 1 | <?php |
||
| 10 | class FakeNumberGeneratorTest extends \PHPUnit_Framework_TestCase |
||
| 11 | { |
||
| 12 | const FAKE_RESULT = 1; |
||
| 13 | |||
| 14 | /** @var \Utils\NumberGenerator\NumberGenerators\FakeNumberGenerator */ |
||
| 15 | protected $sut; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * {@inheritDoc} |
||
| 19 | */ |
||
| 20 | public function setUp() |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @dataProvider getRanges |
||
| 27 | * |
||
| 28 | * @param int $min |
||
| 29 | * @param int $max |
||
| 30 | */ |
||
| 31 | public function testRandomGeneration($min, $max) |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @return array |
||
| 38 | */ |
||
| 39 | public function getRanges() |
||
| 47 | } |
||
| 48 |