{
e1.printStackTrace();
}
+ System.out.println("wantedFields >>" + wantedFields);
+
FTSRestRequest request = new FTSRestRequest();
request.setAllowEmptySeq(false);
@Test(groups = { "External" }, expectedExceptions = Exception.class)
public void testForExpectedRuntimeException() throws Exception
{
+ // JBPNote: looks like this test fails for no good reason - what exception was supposed to be raised ?
List<FTSDataColumnI> wantedFields = new ArrayList<FTSDataColumnI>();
wantedFields.add(PDBFTSRestClient.getInstance()
.getDataColumnByNameOrCode("pdb_id"));
}
// JBP: Is this actually external ? Looks like it is mocked
+ // JBP looks like the mock is not up to date for this test
@Test(groups = { "External" })
public void parsePDBJsonResponseTest()
{
assertTrue(response.getSearchSummary() != null);
assertTrue(response.getNumberOfItemsFound() == 931);
assertTrue(response.getSearchSummary().size() == 14);
+ System.out.println("Search summary : " + response.getSearchSummary());
}
@Test(groups = { "Functional" })