create() public method

{@inheritDoc}
public create ( Request $request, Symfony\Component\Security\Core\Authentication\Token\TokenInterface $token )
$request Symfony\Component\HttpFoundation\Request
$token Symfony\Component\Security\Core\Authentication\Token\TokenInterface
 /**
  * @test
  */
 public function create_onCreate_returnAuthenticationContext()
 {
     $this->assertInstanceOf('Scheb\\TwoFactorBundle\\Security\\TwoFactor\\AuthenticationContext', $this->authenticationContextFactory->create($this->request, $this->token));
 }