@Test public void singleSequence() { CountedBehavior goal = new CountedBehavior(BehaviorStatus.SUCCESS); Sequence p = Sequence.createSequence(goal); test.addGoal(p, 1); test.run(); assertThat("Reset count", goal.resetCount, is(1)); assertThat("Run count", goal.runCount, is(1)); assertThat("Should execute count", goal.shouldExecuteCount, is(1)); }