Total Complexity | 2 |
Total Lines | 16 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | trait NovaFilterTest |
||
8 | { |
||
9 | /** |
||
10 | * Initialize the Nova Filter mock. |
||
11 | * |
||
12 | * @param string $filter The class path of the Filter |
||
13 | * @return MockFilter The Filter mock instance |
||
14 | * @throws InvalidNovaFilterException If the supplied action class is not a Nova Filter |
||
15 | */ |
||
16 | 2 | public static function novaFilter(string $filter): MockFilter |
|
25 |