JBBPFieldArrayString extends JBBPAbstractArrayField<JBBPFieldString> { public String[] getArray() { return this.array.clone(); } JBBPFieldArrayString(final JBBPNamedFieldInfo name, final String[] array); String[] getArray(); @Override int size(); @Override JBBPFieldString getElementAt(final int index); @Override Object getValueArrayAsObject(final boolean reverseBits); @Override String getTypeAsString();  }
@Test public void testGetArray() { assertArrayEquals(new String[] {"012",null,"ABC"}, test.getArray()); }