'Ensure all mandatory params are present.'

def test_mandated_params(self):

    v = RequestValidator()
    e = BaseEndpoint(v)
    r = e._create_request(u'https://a.b/', u'GET', u'oauth_signature=a&oauth_consumer_key=b&oauth_nonce', URLENCODED)
    self.assertRaises(errors.InvalidRequestError, e._check_mandatory_parameters, r)
