JBBPFieldArrayStruct extends JBBPAbstractArrayField<JBBPFieldStruct> { @Override public int size() { return this.structs.length; } 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 testSize() { assertEquals(2, test.size()); }