@Test public void testCanHandle() { assertTrue(healthChecker.canVisit(activity)); assertFalse(healthChecker.canVisit(null)); assertFalse(healthChecker.canVisit("")); }
public boolean canVisit(Object subject) { return (subject != null && subject instanceof SpreadsheetImportActivity); }
SpreadsheetImportHealthChecker implements HealthChecker<SpreadsheetImportActivity> { public boolean canVisit(Object subject) { return (subject != null && subject instanceof SpreadsheetImportActivity); } }
SpreadsheetImportHealthChecker implements HealthChecker<SpreadsheetImportActivity> { public boolean canVisit(Object subject) { return (subject != null && subject instanceof SpreadsheetImportActivity); }  }
SpreadsheetImportHealthChecker implements HealthChecker<SpreadsheetImportActivity> { public boolean canVisit(Object subject) { return (subject != null && subject instanceof SpreadsheetImportActivity); }  boolean canVisit(Object subject); VisitReport visit(SpreadsheetImportActivity activity, List<Object> ancestors); boolean isTimeConsuming(); }
SpreadsheetImportHealthChecker implements HealthChecker<SpreadsheetImportActivity> { public boolean canVisit(Object subject) { return (subject != null && subject instanceof SpreadsheetImportActivity); }  boolean canVisit(Object subject); VisitReport visit(SpreadsheetImportActivity activity, List<Object> ancestors); boolean isTimeConsuming();  }