JBBPFieldArrayStruct extends JBBPAbstractArrayField<JBBPFieldStruct> { public JBBPFieldStruct[] getArray() { return this.structs.clone(); } JBBPFieldArrayStruct(final JBBPNamedFieldInfo name, final JBBPFieldStruct[] array); JBBPFieldStruct[] getArray(); @Override int size(); @Override JBBPFieldStruct getElementAt(final int index); @Override Object getValueArrayAsObject(final boolean reverseBits); @Override String getTypeAsString();  }
@Test public void testGetArray() { assertEquals(2, test.getArray().length); assertNotNull(test.getArray()[0]); assertNotNull(test.getArray()[1]); }