public function checkConsumer($consumer) { return parent::checkConsumer($consumer); }
public function testCheckConsumer() { $consumer = new UserMock('123', 'Jos', '*****@*****.**'); $this->setExpectedException('Symfony\\Component\\HttpKernel\\Exception\\HttpException', 'consumer_key_unknown'); $this->oauthServerService->checkConsumer($consumer); }