Construct a new spy verifier.
public __construct ( Eloquent\Phony\Spy\Spy $spy, |
||
$spy | Eloquent\Phony\Spy\Spy | The spy. |
$matcherFactory | The matcher factory to use. | |
$matcherVerifier | The macther verifier to use. | |
$generatorVerifierFactory | The generator verifier factory to use. | |
$iterableVerifierFactory | The iterable verifier factory to use. | |
$callVerifierFactory | The call verifier factory to use. | |
$assertionRecorder | Eloquent\Phony\Assertion\AssertionRecorder | The assertion recorder to use. |
$assertionRenderer | The assertion renderer to use. |
/** * Construct a new stub verifier. * * @param Stub $stub The stub. * @param Spy $spy The spy. * @param MatcherFactory $matcherFactory The matcher factory to use. * @param MatcherVerifier $matcherVerifier The macther verifier to use. * @param GeneratorVerifierFactory $generatorVerifierFactory The generator verifier factory to use. * @param IterableVerifierFactory $iterableVerifierFactory The iterable verifier factory to use. * @param CallVerifierFactory $callVerifierFactory The call verifier factory to use. * @param AssertionRecorder $assertionRecorder The assertion recorder to use. * @param AssertionRenderer $assertionRenderer The assertion renderer to use. * @param GeneratorAnswerBuilderFactory $generatorAnswerBuilderFactory The generator answer builder factory to use. */ public function __construct(Stub $stub, Spy $spy, MatcherFactory $matcherFactory, MatcherVerifier $matcherVerifier, GeneratorVerifierFactory $generatorVerifierFactory, IterableVerifierFactory $iterableVerifierFactory, CallVerifierFactory $callVerifierFactory, AssertionRecorder $assertionRecorder, AssertionRenderer $assertionRenderer, GeneratorAnswerBuilderFactory $generatorAnswerBuilderFactory) { parent::__construct($spy, $matcherFactory, $matcherVerifier, $generatorVerifierFactory, $iterableVerifierFactory, $callVerifierFactory, $assertionRecorder, $assertionRenderer); $this->stub = $stub; $this->generatorAnswerBuilderFactory = $generatorAnswerBuilderFactory; }