Total Complexity | 2 |
Total Lines | 17 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | trait NovaLensTest |
||
8 | { |
||
9 | /** |
||
10 | * Initialize the Nova Action mock. |
||
11 | * |
||
12 | * @param string $lens The class path of the Lens |
||
13 | * @param string $model The model used for making query assertions |
||
14 | * @return MockLens The Lens mock instance |
||
15 | * @throws InvalidNovaLensException If the supplied action class is not a Nova Lens |
||
16 | */ |
||
17 | 2 | public static function novaLens(string $lens, string $model): MockLens |
|
26 |