@Test public void testPrimitiveToBoxed() { PrimitiveClass primitive = new PrimitiveClass(); primitive.setMyBoolean(true); primitive.setMyByte((byte) 0xC); primitive.setMyCharacter('F'); primitive.setMyDouble(123.321d); primitive.setMyFloat(21.21f); primitive.setMyInt(42); primitive.setMyLong(123456789L); primitive.setMyShort((short) 3); BoxedClass boxed = ubiquity.map(primitive, BoxedClass.class); checkEquality(primitive, boxed); }