### Question:
ActionFlowStepConfig { @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + index; result = prime * result + ((nextAction == null) ? 0 : nextAction.hashCode()); result = prime * result + ((prevAction == null) ? 0 : prevAction.hashCode()); return result; } protected  ActionFlowStepConfig(ActionFlowStepConfig orig); protected  ActionFlowStepConfig(int index, String nextAction,
            String prevAction); int getIndex(); String getNextAction(); String getPrevAction(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void testHashCode() throws Exception { ActionFlowStepConfig.Builder stepConfigBuilder = new ActionFlowStepConfig.Builder( 0, null, null); ActionFlowStepConfig stepConfig = stepConfigBuilder.build(); ActionFlowStepConfig stepConfig2 = stepConfigBuilder.build(); Assert.assertEquals(stepConfig.hashCode(), stepConfig2.hashCode()); stepConfig = stepConfigBuilder.prevAction("prev").build(); stepConfig2 = stepConfigBuilder.build(); Assert.assertEquals(stepConfig.hashCode(), stepConfig2.hashCode()); stepConfig = stepConfigBuilder.nextAction("next").prevAction(null) .build(); stepConfig2 = stepConfigBuilder.build(); Assert.assertEquals(stepConfig.hashCode(), stepConfig2.hashCode()); }