@Test public void testGetStatus() throws Exception { Instance instance = new Instance("Feed1", "Instance1", "SUBMITTED", "start", "end", "details", "log"); Assert.assertEquals("SUBMITTED", instance.getStatus()); }
public String getStatus() { return status; }
Instance { public String getStatus() { return status; } }
Instance { public String getStatus() { return status; } Instance(String feedName, String id, String status, String startTime, String endTime, String details, String log); }
Instance { public String getStatus() { return status; } 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(); }
Instance { public String getStatus() { return status; } 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();  }