### Question:
CommandQueue { public CommandQueue addInCclSessionCommand(final AbstractCclCommand command) { inSessionCommands.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();  }### Answer:
@Test public void testAddInCclSessionCommand() { final CommandQueue response = queue.addInCclSessionCommand(command); assertThat(queue.getInCclSessionCommands()).containsOnly(command); assertThat(response).isEqualTo(queue); }