1 | <?php |
||
7 | class ValidatorTest extends \PHPUnit_Framework_TestCase |
||
8 | { |
||
9 | /** |
||
10 | * @dataProvider postcodeProvider |
||
11 | * @covers \VasilDakov\Postcode\Validator::isValid |
||
12 | */ |
||
13 | public function testCanValidatePostcodes($string, $expected) |
||
17 | |||
18 | /** |
||
19 | * Returns an array with valid and invalid postcodes |
||
20 | */ |
||
21 | public function postcodeProvider() |
||
31 | } |
||
32 |