MocksApplicationServices
trait MocksApplicationServices (View source)
Methods
$this | expectsEvents(array|string $events) Specify a list of events that should be fired for the given operation. | |
$this | doesntExpectEvents(array|string $events) Specify a list of events that should not be fired for the given operation. | |
$this | expectsModelEvents(string $model, array|string $events) Specify a list of events that should be fired for the given operation. | |
$this | doesntExpectModelEvents(string $model, array|string $events) Specify a list of events that should not be fired for the given operation. | |
$this | withoutObservers(array|string $observers) Specify a list of observers that will not run for the given operation. |
Please login to continue.