@Test
@RunAsClient
public void getAccountJson() throws Exception {
// No client method for Json Get, so testing raw compatibility
new ResourceRequest(getRestEndpointUrl("/accounts/u/demo"), "GET",
getAuthorizedEnvironment()) {
@Override
protected void prepareRequest(ClientRequest request) {
request.header(HttpHeaders.ACCEPT,
MediaTypes.APPLICATION_ZANATA_ACCOUNT_JSON);