    @Test
    public void testEquals() throws Exception {

        ActionFlowStepConfig.Builder stepConfigBuilder = new ActionFlowStepConfig.Builder(
                0, "next", "prev");
        ActionFlowStepConfig stepConfig = stepConfigBuilder.build();

        Assert.assertNotNull(stepConfig);

        Assert.assertEquals(stepConfig, stepConfig);
        Assert.assertNotEquals(stepConfig, null);

        ActionFlowStepConfig.Builder stepConfigBuilder2 = new ActionFlowStepConfig.Builder(
                stepConfig);
        ActionFlowStepConfig stepConfig2 = stepConfigBuilder2.index(1).build();
        Assert.assertNotEquals(stepConfig, stepConfig2);

        ActionFlowStepConfig.Builder stepConfigBuilder3 = new ActionFlowStepConfig.Builder(
                stepConfig);
        stepConfig2 = stepConfigBuilder3.nextAction("notNext").build();
        Assert.assertNotEquals(stepConfig, stepConfig2);

        ActionFlowStepConfig.Builder stepConfigBuilder4 = new ActionFlowStepConfig.Builder(
                stepConfig);
        stepConfig2 = stepConfigBuilder4.prevAction("notPrev").build();
        Assert.assertNotEquals(stepConfig, stepConfig2);

        ActionFlowStepConfig.Builder stepConfigBuilder5 = new ActionFlowStepConfig.Builder(
                stepConfig);
        stepConfig2 = stepConfigBuilder5.prevAction(null).build();
        Assert.assertNotEquals(stepConfig2, stepConfig);

        ActionFlowStepConfig.Builder stepConfigBuilder6 = new ActionFlowStepConfig.Builder(
                stepConfig);
        stepConfig2 = stepConfigBuilder6.nextAction(null).build();
        Assert.assertNotEquals(stepConfig2, stepConfig);
    }