/**
  * Test deleteClassifier failed auth is handled appropriately
  *
  * @expectedException \Bobbyshaw\WatsonVisualRecognition\Exceptions\AuthException
  */
 public function testDeleteClassifierFailedAuthResponse()
 {
     $container = [];
     $response = $this->getMockHttpResponse('FailedAuth.txt', 401);
     $httpClient = $this->getMockHttpClientWithHistoryAndResponses($container, [$response]);
     $this->client = new Client($httpClient);
     $this->client->initialize(['username' => $this->username, 'password' => $this->password]);
     /** @var DeleteClassifierRequest $request */
     $request = $this->client->deleteClassifier(['classifier_id' => $this->classifierId]);
     $request->send();
 }