Method | Description | |
---|---|---|
createFailure ( string $description ) | Create a new assertion failure exception. | |
createSuccess ( array $events = [] ) : Eloquent\Phony\Event\EventCollection | Record that a successful assertion occurred. | |
createSuccessFromEventCollection ( Eloquent\Phony\Event\EventCollection $events ) : Eloquent\Phony\Event\EventCollection | Record that a successful assertion occurred. |
public createFailure ( string $description ) | ||
$description | string | The failure description. |
public createSuccess ( array $events = [] ) : Eloquent\Phony\Event\EventCollection | ||
$events | array | |
return | Eloquent\Phony\Event\EventCollection | The result. |
public createSuccessFromEventCollection ( Eloquent\Phony\Event\EventCollection $events ) : Eloquent\Phony\Event\EventCollection | ||
$events | Eloquent\Phony\Event\EventCollection | The events. |
return | Eloquent\Phony\Event\EventCollection | The result. |