| Total Complexity | 3 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | final class EmailTest extends TestCase |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @test |
||
| 15 | * @covers ::filter |
||
| 16 | */ |
||
| 17 | public function filter() |
||
| 21 | } |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @test |
||
| 25 | * @covers ::filter |
||
| 26 | */ |
||
| 27 | public function filterNotString() |
||
| 28 | { |
||
| 29 | $this->expectException(\TraderInteractive\Exceptions\FilterException::class); |
||
| 30 | $this->expectExceptionMessage("Value '111222333444' is not a string"); |
||
| 31 | Email::filter(111222333444); |
||
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @test |
||
| 36 | * @covers ::filter |
||
| 37 | */ |
||
| 38 | public function filterNotValid() |
||
| 43 | } |
||
| 44 | } |
||
| 45 |