List<String> getStatements(int oldVersion, int newVersion) {
    List<String> result = new ArrayList<>();
    for (int i = oldVersion + 1; i <= newVersion; ++i) {
      List<String> list = statementsMap.get(i);
      if (list != null) {
        result.addAll(list);
      }
    }
    return result;
  }
@Test
  public void testGetStatements() {
    MSQLiteBuilder builder = new MSQLiteBuilder()
        .version(1)
        .statement("11")
        .statement("12")
        .version(3)
        .statement("31")
        .statement("32");

    List<String> list = new ArrayList<>();
    list.add("31");
    list.add("32");
    assertEquals(list, builder.getStatements(1, 3));
  }