'Test errors raised when getting roles for user on a domain.
Test Plan:
- Check non-existing user gives UserNotFound
- Check non-existing domain gives DomainNotFound'

def test_get_roles_for_user_and_domain_returns_not_found(self):

    new_domain = self._get_domain_fixture()
    new_user1 = unit.new_user_ref(domain_id=new_domain['id'])
    new_user1 = self.identity_api.create_user(new_user1)
    self.assertRaises(exception.UserNotFound, self.assignment_api.get_roles_for_user_and_domain, uuid.uuid4().hex, new_domain['id'])
    self.assertRaises(exception.DomainNotFound, self.assignment_api.get_roles_for_user_and_domain, new_user1['id'], uuid.uuid4().hex)
