@Test public void testAddOnCclStartCommand() { final CommandQueue response = queue.addOnCclStartCommand(command); assertThat(queue.getOnCclStartCommands()).containsOnly(command); assertThat(response).isEqualTo(queue); }
public CommandQueue addOnCclStartCommand(final AbstractCclCommand command) { onCclStartCommands.add(command); return this; }
CommandQueue { public CommandQueue addOnCclStartCommand(final AbstractCclCommand command) { onCclStartCommands.add(command); return this; } }
CommandQueue { public CommandQueue addOnCclStartCommand(final AbstractCclCommand command) { onCclStartCommands.add(command); return this; }  }
CommandQueue { public CommandQueue addOnCclStartCommand(final AbstractCclCommand command) { onCclStartCommands.add(command); return this; }  CommandQueue addInCclSessionCommand(final AbstractCclCommand command); CommandQueue addOnCclCloseCommand(final AbstractCclCommand command); CommandQueue addOnCclStartCommand(final AbstractCclCommand command); void execute(final CclCommandTerminal cclTerminal); Collection<? extends AbstractCclCommand> getInCclSessionCommands(); Collection<? extends AbstractCclCommand> getOnCclCloseCommands(); Collection<? extends AbstractCclCommand> getOnCclStartCommands(); boolean isEmpty(); }
CommandQueue { public CommandQueue addOnCclStartCommand(final AbstractCclCommand command) { onCclStartCommands.add(command); return this; }  CommandQueue addInCclSessionCommand(final AbstractCclCommand command); CommandQueue addOnCclCloseCommand(final AbstractCclCommand command); CommandQueue addOnCclStartCommand(final AbstractCclCommand command); void execute(final CclCommandTerminal cclTerminal); Collection<? extends AbstractCclCommand> getInCclSessionCommands(); Collection<? extends AbstractCclCommand> getOnCclCloseCommands(); Collection<? extends AbstractCclCommand> getOnCclStartCommands(); boolean isEmpty();  }