Example #1
0
 public function testCanCreateClient()
 {
     $par = new Params(['sessionHandlerParams' => ['wsdl' => '/var/fake/file/path', 'stateful' => true, 'logger' => new NullLogger(), 'authParams' => ['officeId' => 'BRUXXXXXX', 'originatorTypeCode' => 'U', 'originator' => 'WSXXXXXX', 'organizationId' => 'NMC-XXXXXX', 'passwordLength' => '4', 'passwordData' => base64_encode('TEST')]], 'requestCreatorParams' => ['originatorOfficeId' => 'BRUXXXXXX', 'receivedFrom' => 'some RF string']]);
     $client = new Client($par);
     $this->assertTrue($client->getStateful());
 }