public function testCustomOptions()
 {
     $client = new Client();
     $content = Stream::factory('{"access_token":"123"}');
     $mock = new Mock([new Response(200, [], $content), new Response(200, [], Stream::factory($this->xmlResponse))]);
     $client->getEmitter()->attach($mock);
     $translator = new \badams\MicrosoftTranslator\MicrosoftTranslator($client);
     $translator->setClient('client_id', 'client_secret');
     $options = new TranslateOptions('general', TranslateOptions::CONTENT_TYPE_PLAIN, 'Foo');
     $results = $translator->getTranslations('Hello', 'de', 'en', 5, $options);
     $this->assertEquals('Foo', $results->getState());
 }