client.authenticate(tenantId, passwordCredentials);
}
@Test(expected = KeystoneAuthenticationException.class)
public void listTenants_forgedToken() throws Exception {
KeystoneAuthenticationClient client = new KeystoneAuthenticationClient();
KeystoneAuthenticationToken fakeToken = buildFakeToken("HELLOWORLD");
client.listTenants(fakeToken);
}