@Test public void increment() { assertThat(reducer.reduce(0, Action.INCREMENT), is(1)); }
@Override public Integer reduce(Integer state, Object action) { return action instanceof Action ? reduce(state, (Action) action) : state; }
MyReducer implements redux.api.Reducer<Integer> { @Override public Integer reduce(Integer state, Object action) { return action instanceof Action ? reduce(state, (Action) action) : state; } }
MyReducer implements redux.api.Reducer<Integer> { @Override public Integer reduce(Integer state, Object action) { return action instanceof Action ? reduce(state, (Action) action) : state; }  }
MyReducer implements redux.api.Reducer<Integer> { @Override public Integer reduce(Integer state, Object action) { return action instanceof Action ? reduce(state, (Action) action) : state; }  @Override Integer reduce(Integer state, Object action); }
MyReducer implements redux.api.Reducer<Integer> { @Override public Integer reduce(Integer state, Object action) { return action instanceof Action ? reduce(state, (Action) action) : state; }  @Override Integer reduce(Integer state, Object action);  }