'Test an app\'s ability to check a authorization token.'

def test_check_authorization(self):

    self.instance.set_client_id('client-id', 'client-secret')
    self.instance.check_authorization('super-fake-access-token')
    self.session.get.assert_called_once_with(url_for('applications/client-id/tokens/super-fake-access-token'), params={'client_id': None, 'client_secret': None}, auth=('client-id', 'client-secret'))
