private function assertDispatchAuthenticationEvent($eventType)
{
$this->eventDispatcher->expects($this->once())->method('dispatch')->with($this->equalTo($eventType), $this->isInstanceOf('Scheb\\TwoFactorBundle\\Security\\TwoFactor\\Event\\TwoFactorAuthenticationEvent'));
}