PhpSpec matchers to use with Amp Promises Installation Install it with: composer require owox/phpspec-amp Configure PhpSpec: extensions: OWOX\PhpSpec\Amp\Extension: ~ Usage Extension provides following matchers: resolveTo resolveToAnInstance failWith