DateType implements Type<DateHolder> { @Override public DateHolder[] newArray(int size) { return new DateHolder[size]; }  @Override String encode(DateHolder holder); @Override DateHolder decode(String text); @Override DateHolder convert(Object obj); @Override DateHolder[] newArray(int size); static void setDefaultOutputPattern(String pattern); static String getDefaultOutputPattern(); static final String TYPE_NAME; }
@Test public void testNewArray() { DateHolder[] arr1 = type.newArray(3); DateHolder[] arr2 = type.newArray(3); assertNotNull(arr1); assertNotNull(arr2); assertNotSame(arr1, arr2); }