@Test
public void testSetPropertyPrimitiveWithWrapperValue() {

    // Wrapper value
    Boolean value = Boolean.valueOf(true);
    DummyClass dummyClass = new DummyClass(false);
    dummyClass.setTrace(false);
    // dummy field expects a primitive
    IntrospectionSupport.setProperty(dummyClass, "trace", value);
    assertTrue(dummyClass.isTrace());
}