StringArraySerializer extends TypeSerializerSingleton<String[]> { @Override public boolean isImmutableType() { return false; }  @Override boolean isImmutableType(); @Override String[] createInstance(); @Override String[] copy(String[] from); @Override String[] copy(String[] from, String[] reuse); @Override int getLength(); @Override void serialize(String[] record, DataOutputView target); @Override String[] deserialize(DataInputView source); @Override String[] deserialize(String[] reuse, DataInputView source); @Override void copy(DataInputView source, DataOutputView target); @Override boolean canEqual(Object obj); static final StringArraySerializer INSTANCE; }
@Test public void arrayTypeIsMutable() { StringArraySerializer serializer = (StringArraySerializer) createSerializer(); assertFalse(serializer.isImmutableType()); }