    @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");
        }
    }