1112131415161718192021
@Test public void test() { FontGroup command = new FontGroup(1); command.addFont(new Font("4", 0)); command.addFont("4", 1); CommandOutputBuilder output = new CommandOutputBuilder(); output.printLn("FG 1 4 0 4 1"); assertCommand(output, command);
1011121314151617181920
public class FontGroupTest { @Test public void test() { FontGroup command = new FontGroup(1); command.addFont(new Font("4", 0)); command.addFont("4", 1); CommandOutputBuilder output = new CommandOutputBuilder(); output.printLn("FG 1 4 0 4 1");