public function authenticatingAnUnsupportedTokenThrowsAnException()
{
$someNiceToken = $this->createMock(Security\Authentication\TokenInterface::class);
$usernamePasswordProvider = new Security\Authentication\Provider\PersistedUsernamePasswordProvider('myProvider', array());
$usernamePasswordProvider->authenticate($someNiceToken);
}