Is a mock class required for this type of test?
Controllers require a mock class.
public hasMockClass ( string $type ) : boolean | ||
$type | string | The type of object tests are being generated for eg. controller. |
return | boolean |
public hasMockClass ( string $type ) : boolean | ||
$type | string | The type of object tests are being generated for eg. controller. |
return | boolean |