stringFromResource("/role_create_response.json"))));
try {
KeystoneApi keystoneApi = api(server.getUrl("/").toString(), "openstack-keystone");
RoleAdminApi roleAdminApi = keystoneApi.getRoleAdminApi().get();
Role testRole = roleAdminApi.create("jclouds-role");
assertNotNull(testRole);
assertEquals(testRole.getId(), "r1000");
assertEquals(server.getRequestCount(), 3);
assertAuthentication(server);
assertExtensions(server);
RecordedRequest createRoleRequest = server.takeRequest();