### Question:
JBBPFieldArrayInt extends JBBPAbstractArrayField<JBBPFieldInt> implements JBBPNumericArray { @Override public long getAsLong(final int index) { return this.getAsInt(index); } JBBPFieldArrayInt(final JBBPNamedFieldInfo name, final int[] array); int[] getArray(); @Override int size(); @Override JBBPFieldInt getElementAt(final int index); @Override int getAsInt(final int index); @Override long getAsLong(final int index); @Override boolean getAsBool(final int index); @Override Object getValueArrayAsObject(final boolean reverseBits); @Override String getTypeAsString();  }### Answer:
@Test public void testGetAsLong() { final long[] etalon = new long[] {-278349L, 12223423L, 0L, -2L, 3L}; for (int i = 0; i < etalon.length; i++) { assertEquals(etalon[i], test.getAsLong(i)); } }