InsideTestObject ito = newInstance(InsideTestObject.class);
ito.setLabel("label");
to.setFieldAccessibleComplexType(ito);
String[] stringArray = new String[] { "one", "two" };
to.setFieldAccessibleArrayToList(stringArray);
TestObjectPrime top = mapper.map(to, TestObjectPrime.class);
assertEquals("fieldAccessible", top.fieldAccessible);
assertEquals("label", top.fieldAccessibleComplexType.getLabelPrime());
assertEquals(2, top.fieldAccessiblePrimInt);
assertEquals("one", top.fieldAccessibleArrayToList.get(0));
assertEquals("two", top.fieldAccessibleArrayToList.get(1));