public function createFromCallback($callback = null) { $stub = $this->stubFactory->create($callback); return new StubVerifier($stub, $this->spyFactory->create($stub), $this->matcherFactory, $this->matcherVerifier, $this->generatorVerifierFactory, $this->iterableVerifierFactory, $this->callVerifierFactory, $this->assertionRecorder, $this->assertionRenderer, $this->generatorAnswerBuilderFactory); }