### Question:
JsonObjectArrayWrapper extends TypedJsonArray<T> { @Override public <O extends JsonElementWrapper> O wrap(JsonArray jsonElement) { throw new IllegalStateException("cannot wrap Typed Element with empty type"); } 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 testWrapNoType() throws Exception { try { arrayWrapper.wrap(jar); fail("Should not wrap not typed Json"); } catch (IllegalStateException ex) { assertThat(ex.getMessage()) .isEqualTo("cannot wrap Typed Element with empty type"); } }