| Total Complexity | 2 | 
| Total Lines | 17 | 
| Duplicated Lines | 0 % | 
| Coverage | 100% | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 8 | trait NovaResourceTest  | 
            ||
| 9 | { | 
            ||
| 10 | /**  | 
            ||
| 11 | * Initialize the Nova Resource mock.  | 
            ||
| 12 | *  | 
            ||
| 13 | * @param string $class The class path of the Resource  | 
            ||
| 14 | * @param Model $model The object to apply to this Resource  | 
            ||
| 15 | * @return MockResource The Resource mock instance  | 
            ||
| 16 | * @throws InvalidNovaResourceException If the supplied action class is not a Nova Resource  | 
            ||
| 17 | */  | 
            ||
| 18 | 2 | public static function novaResource(string $class, Model $model): MockResource  | 
            |
| 27 |