json.put("name", newName);
makeRequest(getUrl() + "/account/profile", "PUT", json, authToken);
AccountResponseDTO responseDTO = jsonToObject(makeRequest(adminBaseUrl + "/account/" +
testAccount.getId(), "GET", null, authToken),
TypeFactory.defaultInstance().constructType(AccountResponseDTO.class));
assertEquals(newName, responseDTO.getName());
}