expectedInt = GrblUtils.GRBL_RX_BUFFER_SIZE / (twentyCharString.length()+1);
assertEquals(expectedInt, arr.length);
// Wrap up the active commands.
for (int i=0; i <arr.length; i++) {
mc.sendResponse("ok");
}
// Make sure canceled commands are not sent.
instance.streamCommands();
grblReceiveString = mg.readStringFromGrblBuffer();