StateVisitor { public T visit(ChoiceState choiceState) { return null; }  T visit(ChoiceState choiceState); T visit(FailState failState); T visit(ParallelState parallelState); T visit(PassState passState); T visit(SucceedState succeedState); T visit(TaskState taskState); T visit(WaitState waitState); T visit(MapState mapState);  }
@Test public void defaultVisitMethods_ReturnNull() { MyVisitor visitor = new MyVisitor(); assertNull(visitor.visit(failState().build())); assertNull(visitor.visit(choiceState().build())); assertNull(visitor.visit(parallelState().build())); assertNull(visitor.visit(mapState().build())); assertNull(visitor.visit(succeedState().build())); assertNull(visitor.visit(taskState().build())); assertNull(visitor.visit(waitState().build())); assertNull(visitor.visit(passState().build())); }