/**
  * testCanSetCallableCredentialStrategyAndReturnsSelf
  *
  * Ensure a callable credential strategy can be set and setCredentialStrategy returns
  * and instance of the ChainableAdapter.
  *
  * @covers ArpAuth\Authentication\Adapter\AdapterChain::setCredentialStrategy
  * @test
  */
 public function testCanSetCallableCredentialStrategyAndReturnsSelf()
 {
     $adapterChain = new AdapterChain([]);
     $strategy = function () {
     };
     $result = $adapterChain->setCredentialStrategy($strategy);
     $this->assertSame($adapterChain, $result);
 }