### Question:
JAXBWrapperHelper extends AbstractWrapperHelper { @Override protected Object createWrapperObject(Class<?> typeClass) throws Exception { return typeClass.newInstance(); } protected  JAXBWrapperHelper(Class<?> wt, Method[] sets, Method[] gets,
                                Method[] jaxbs, Field[] f, Object of);   }### Answer:
@Test public void getBooleanTypeWrappedPart() throws Exception { SetIsOK ok = new SetIsOK(); ok.setParameter3(new boolean[] {true, false}); ok.setParameter4("hello"); List<String> partNames = Arrays.asList(new String[] { "Parameter1", "Parameter2", "Parameter3", "Parameter4", "Parameter5", }); List<String> elTypeNames = Arrays.asList(new String[] { "boolean", "int", "boolean", "string", "string", }); List<Class<?>> partClasses = Arrays.asList(new Class<?>[] { Boolean.TYPE, Integer.TYPE, boolean[].class, String.class, List.class, }); WrapperHelper wh = new JAXBDataBinding().createWrapperHelper(SetIsOK.class, null, partNames, elTypeNames, partClasses); List<Object> lst = wh.getWrapperParts(ok); assertEquals(5, lst.size()); assertTrue(lst.get(0) instanceof Boolean); assertTrue(lst.get(1) instanceof Integer); assertTrue(lst.get(2) instanceof boolean[]); assertTrue(((boolean[])lst.get(2))[0]); assertFalse(((boolean[])lst.get(2))[1]); assertEquals("hello", lst.get(3)); lst.set(0, Boolean.TRUE); Object o = wh.createWrapperObject(lst); assertNotNull(0); ok = (SetIsOK)o; assertTrue(ok.isParameter1()); assertTrue(ok.getParameter3()[0]); assertFalse(ok.getParameter3()[1]); assertEquals("hello", ok.getParameter4()); }