<?php/** * @copyright Vertex. All rights reserved. https://www.vertexinc.com/ * @author Mediotype https://www.mediotype.com/ */namespaceVertex\Tax\Test\Integration\Mock;useVertex\Utility\SoapClientFactory;/** * Provides a way for tests to mock the SOAP Response and handle the SOAP Request without mocking ApiClient */classSoapFactoryMockextendsSoapClientFactory{/** @var \SoapClient */private$client;/** * Set the SOAP Client to be returned from a creation * * @param \SoapClient $client */publicfunctionsetSoapClient(\SoapClient$client){$this->client=$client;}/** * @inheritdoc */publicfunctioncreate($wsdl,array$options=[]){return$this->client;}}