Callback Describer
- Describe with string function will return name
- Describe with closure will return closure string
- Describe with array callable object will return description
- Describe array callable static
- Describe invokable object
Composite Error Reporter
- Report with throwable will call all reporters
- Add with reporter will change count and is empty
- Report with failing reporter will log error
Defer
- Defer executes callbacks in lifo order
- Defer invoke adds callback
- Count and is empty
- Defer with arguments
- Exception is reported
Defer Middleware
- Process with valid input will call handler
- Get defer with defer attribute will return defer instance
- Get defer with missing attribute will throw
Deferred Callback Failed
- Constructor with arguments will set properties
Deferred Callback Listener Provider
- Get listeners for deferred callback failed event will return callable listener
- Get listeners for non deferred event will return empty
Error Log Error Reporter
- Report with throwable will output error
Functions (FastForward\Defer\Tests\Functions)
- Defer function without input will return defer instance
- Using with callback will flush and return result
- Scope with callback will flush and return result
Log Deferred Callback Failure
- Invoke with deferred callback failed event will log error
Null Error Reporter
- Report with throwable will do nothing
Psr Event Dispatcher Error Reporter
- Report with throwable will dispatch event
- Report with dispatcher failure will log error
Psr Logger Error Reporter
- Report with throwable will log error