public static <E> ArrayList<E> newArrayList() {
    return new ArrayList<>();
  }
@Test
  public void testAddToEmptyArrayList() {
    List<String> list = Lists.newArrayList();
    list.add("record1");
    Assert.assertEquals(1, list.size());
    Assert.assertEquals("record1", list.get(0));
  }