protected function authenticateAccount(Security\Account $account)
{
$this->testingProvider->setAuthenticationStatus(TokenInterface::AUTHENTICATION_SUCCESSFUL);
$this->testingProvider->setAccount($account);
$this->securityContext->clearContext();
$this->securityContext->setRequest($this->mockActionRequest);
$this->authenticationManager->authenticate();
}