@Test public void testClear() throws Exception { UserId userId = mock(UserId.class); conditionManager.clear(userId); }
public void clear(UserId userId) { IConditionHandler conditionHandler = conditionHandlers.remove(userId); if (conditionHandler != null) { conditionHandler.clearCondition(); } }
ConditionManager implements IConditionManager { public void clear(UserId userId) { IConditionHandler conditionHandler = conditionHandlers.remove(userId); if (conditionHandler != null) { conditionHandler.clearCondition(); } } }
ConditionManager implements IConditionManager { public void clear(UserId userId) { IConditionHandler conditionHandler = conditionHandlers.remove(userId); if (conditionHandler != null) { conditionHandler.clearCondition(); } } ConditionManager(IntentResolver intentResolver); }
ConditionManager implements IConditionManager { public void clear(UserId userId) { IConditionHandler conditionHandler = conditionHandlers.remove(userId); if (conditionHandler != null) { conditionHandler.clearCondition(); } } ConditionManager(IntentResolver intentResolver); void handleOperation(UserId userId, Operation operation); void clear(UserId userId); }
ConditionManager implements IConditionManager { public void clear(UserId userId) { IConditionHandler conditionHandler = conditionHandlers.remove(userId); if (conditionHandler != null) { conditionHandler.clearCondition(); } } ConditionManager(IntentResolver intentResolver); void handleOperation(UserId userId, Operation operation); void clear(UserId userId);  }