89101112131415161718
public class CountTest { @Test public void test() { Count command = new Count(10); CommandOutputBuilder output = new CommandOutputBuilder(); output.printLn("COUNT 10"); assertCommand(output, command);
1819202122232425262728
assertCommand(output, command); } @Test public void testDefault() { Count command = new Count(); CommandOutputBuilder output = new CommandOutputBuilder(); output.printLn("COUNT 0"); assertCommand(output, command);