ApplicationTrait (Foundation\Testing)

ApplicationTrait

trait ApplicationTrait (View source)

Methods

$this expectsEvents( array|mixed $events)

Specify a list of events that should be fired for the given operation.

$this withSession( array $data)

Set the session to the given array.

void session( array $data)

Set the session to the given array.