function it_should_load_a_new_client(SoapClient $soapClient, EventDispatcherInterface $dispatcher) { $this->factory($soapClient, $dispatcher)->shouldReturnAnInstanceOf(Client::class); }