/**
  * testSetOptionsIsCalledWhenProvidedViaConstructor
  *
  * Ensure the options can be set via an the constructor.
  *
  * @covers ArpAuth\Authentication\Adapter\AdapterChain::__construct
  * @covers ArpAuth\Authentication\Adapter\AdapterChain::setOptions
  * @test
  */
 public function testSetOptionsIsCalledWhenProvidedViaConstructor()
 {
     $options = ['identity' => 'test', 'credential' => 'credential'];
     $adapterChain = new AdapterChain([], $options);
     $this->assertEquals('test', $adapterChain->getIdentity());
     $this->assertEquals('credential', $adapterChain->getCredential());
 }