/** * @expectedException \Symfony\Component\Security\Core\Exception\AuthenticationException */ public function testRevokeToken() { $this->resourceOwner->revokeToken('token'); }