public class InteractionDefaultTest_next {
@Test
public void test() {
CommandDefault interaction = new CommandDefault();
assertThat(interaction.next("foo"), is(0));
assertThat(interaction.next("foo"), is(1));
assertThat(interaction.next("bar"), is(0));
assertThat(interaction.next("bar"), is(1));
assertThat(interaction.next("foo"), is(2));
assertThat(interaction.next("bar"), is(2));
assertThat(interaction.next("bar"), is(3));
}