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