*/
@Test
public void testGetSizeOfBuffer() {
System.out.println("getSizeOfBuffer");
List<GcodeCommand> list = new LinkedList<GcodeCommand>();
list.add(new GcodeCommand("twenty characters...", 0));
list.add(new GcodeCommand("twenty characters...", 1));
list.add(new GcodeCommand("twenty characters...", 2));
list.add(new GcodeCommand("twenty characters...", 3));
list.add(new GcodeCommand("twenty characters...", 4));
// 100characters + 5 newlines.
int expResult = 105;
int result = CommUtils.getSizeOfBuffer(list);
assertEquals(expResult, result);