/** * @covers ::fromString * @covers ::parseString * @covers ::parseRange * @dataProvider provideIllegalRangeStrings * * @expectedException GanbaroDigital\TextTools\Exceptions\E4xx_CannotParseRange */ public function testThrowsExceptionWhenIllegalRangeReceived($range) { // ---------------------------------------------------------------- // setup your test // ---------------------------------------------------------------- // perform the change ExpandRange::fromString($range); }