/**
  * Tests the mechanism for casting one event type to AdapterChainEvent
  *
  * @covers ZfcUser\Authentication\Adapter\AdapterChain::setEvent
  */
 public function testSetEventWithDifferentEventType()
 {
     $testParams = array('testParam' => 'testValue');
     $event = new \Zend\EventManager\Event();
     $event->setParams($testParams);
     $this->adapterChain->setEvent($event);
     $returnEvent = $this->adapterChain->getEvent();
     $this->assertInstanceOf('ZfcUser\\Authentication\\Adapter\\AdapterChainEvent', $returnEvent, 'Asserting the adapter in an instance of ZfcUser\\Authentication\\Adapter\\AdapterChainEvent');
     $this->assertEquals($testParams, $returnEvent->getParams(), 'Asserting event parameters match');
 }