protected String completeLine(String line, int indent) {
    return "  ".repeat(Math.max(0, indent)) + line + ";\n";
  }
@Test
    public void testCompleteLine() {
        MessageCodeGen messageCodeGen = new MessageCodeGen();
        assertEquals(messageCodeGen.completeLine("add indentation", 3), "      add indentation;\n");
        assertEquals(messageCodeGen.completeLine("add indentation", 0), "add indentation;\n");
    }