/**
  * @covers Auspost\Postage\PostageClient::factory
  * @dataProvider provider
  */
 public function testFactoryInitalisesClient($userAuthKey, $developerMode = true, $reqUrl = 'https://test.npe.auspost.com.au', $reqAuthKey = '28744ed5982391881611cca6cf5c2409')
 {
     $client = PostageClient::factory(array('developer_mode' => $developerMode, 'auth_key' => $userAuthKey));
     $this->assertEquals($developerMode, $client->getConfig('developer_mode'));
     $this->assertEquals($reqUrl, $client->getBaseUrl());
     $this->assertEquals($reqAuthKey, $client->getConfig('auth_key'));
 }