ConditionHandlerImpl implements IConditionHandler { @Override public String toString() { return "ConditionHandlerImpl{" + "timers=" + timers + ", intentResolver=" + intentResolver + ", userId=" + userId + ", mutex=" + Arrays.toString(mutex) + '}'; } ConditionHandlerImpl(IntentResolver intentResolver,UserId userId); @Override void handleCondition(Operation operation); @Override void clearCondition(); @Override String toString();  }
@Test public void testToString() throws Exception { String test = conditionHandler.toString(); Assert.assertTrue(! test.equals(null)); }