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