### Question:
JsonObjectArrayWrapper extends TypedJsonArray<T> { @Override protected T get(JsonElement jsonElement, int pos) { try { return cls.newInstance().wrap(jsonElement.asJsonObject()); } catch (InstantiationException e) { throw new RuntimeException("Error wrapping json", e); } catch (IllegalAccessException e) { throw new RuntimeException("Error wrapping json", e); } } JsonObjectArrayWrapper(); @Override O wrap(JsonArray jsonElement); O wrap(JsonArray jsonArray, Class<T> cls); JsonObjectArrayWrapper<T> withWrapperType(Class<T> cls); @Override boolean contains(Object o);  }### Answer:
@Test public void testGet() throws Exception { arrayWrapper.wrap(jar, TestWrapper.class); assertThat(arrayWrapper.get(0).getTheName()).isEqualTo("value1"); assertThat(arrayWrapper.get(1).getTheName()).isEqualTo("value2"); }