/** Test for the getGraphList method. */ @Test public void testgetGraphList() { MiniClient c = new MiniClient(); c.setAddressPort(HTTP_ADDRESS, HTTP_PORT); try { c.setLogin(Long.toString(testAgent.getId()), testPass); @SuppressWarnings("unchecked") ClientResponse result = c.sendRequest( "GET", mainPath + "/", "", MediaType.TEXT_PLAIN, MediaType.APPLICATION_JSON, new Pair[] {}); assertTrue(true); // change here System.out.println("Result of 'testgetGraphList': " + result.getResponse().trim()); } catch (Exception e) { e.printStackTrace(); fail("Exception: " + e); } }