Instance { public String getDetails() { return details; } Instance(String feedName, String id, String status, String startTime, String endTime, String details, String log); String getFeedName(); String getId(); String getStatus(); String getStartTime(); String getEndTime(); String getDetails(); String getLog(); @Override boolean equals(Object o); @Override int hashCode();  }
@Test public void testGetDetails() throws Exception { Instance instance = new Instance("Feed1", "Instance1", "SUBMITTED", "start", "end", "details", "log"); Assert.assertEquals("details", instance.getDetails()); }