### Question:
BapiField { public Class<?> getArrayType() { Class<?> associatedType = field.getType(); return ReflectionHelper.getArrayType(associatedType); } BapiField(final Field field); Class<?> getArrayType(); Class<?> getAssociatedType(); Class<? extends Converter<?, ?>> getConverter(); Class<?> getGenericType(); String getName(); String getSapName(); Class<?> getType(); boolean isExport(); boolean isChanging(); boolean isImport(); boolean isParameter(); boolean isStructure(); boolean isTableStructure(); boolean isTable();  }### Answer:
@Test public void getsArrayType() throws NoSuchFieldException { BapiField fieldIntegerArray = new BapiField(getClass().getDeclaredField("integerArray")); assertEquals(Integer.class, fieldIntegerArray.getArrayType()); BapiField fieldIntArray = new BapiField(getClass().getDeclaredField("intArray")); assertEquals(int.class, fieldIntArray.getArrayType()); }