| 1 | <?php |
||
| 8 | class BoolValueParserTest extends TestCase |
||
| 9 | { |
||
| 10 | /** @var BoolValueParser */ |
||
| 11 | private $parser; |
||
| 12 | |||
| 13 | public function setUp() |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @dataProvider getCanParseData |
||
| 20 | * |
||
| 21 | * @param string $string |
||
| 22 | * @param bool $expected |
||
| 23 | */ |
||
| 24 | public function testCanParse($string, $expected) |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @return array |
||
| 31 | */ |
||
| 32 | public function getCanParseData() |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @dataProvider getParseData |
||
| 47 | * |
||
| 48 | * @param string $string |
||
| 49 | * @param bool $expected |
||
| 50 | */ |
||
| 51 | public function testParse($string, $expected) |
||
| 55 | |||
| 56 | /** |
||
| 57 | * @return array |
||
| 58 | */ |
||
| 59 | public function getParseData() |
||
| 66 | } |
||
| 67 |