}
@Test
public void testPrimitives2() throws NoSuchMethodException
{
TestAction action = new TestAction();
PropertyValueSetter.setPropertyValue(action, "byteInput", Byte.TYPE, null);
assert action.getByteInput() == 0;
PropertyValueSetter.setPropertyValue(action, "byteInput", Byte.TYPE, (byte) 1);
assert action.getByteInput() == 1;
PropertyValueSetter.setPropertyValue(action, "booleanInput", Boolean.TYPE, null);
assert action.isBooleanInput() == false;
PropertyValueSetter.setPropertyValue(action, "booleanInput", Boolean.TYPE, true);
assert action.isBooleanInput() == true;
PropertyValueSetter.setPropertyValue(action, "shortInput", Short.TYPE, null);
assert action.getShortInput() == 0;
PropertyValueSetter.setPropertyValue(action, "shortInput", Short.TYPE, (short) 2);
assert action.getShortInput() == 2;
PropertyValueSetter.setPropertyValue(action, "intInput", Integer.TYPE, null);
assert action.getIntInput() == 0;
PropertyValueSetter.setPropertyValue(action, "intInput", Integer.TYPE, (int) 3);
assert action.getIntInput() == 3;
PropertyValueSetter.setPropertyValue(action, "primitiveLongInput", Long.TYPE, null);
assert action.getPrimitiveLongInput() == 0;
PropertyValueSetter.setPropertyValue(action, "primitiveLongInput", Long.TYPE, 4L);
assert action.getPrimitiveLongInput() == 4;
PropertyValueSetter.setPropertyValue(action, "floatInput", Float.TYPE, null);
assert action.getFloatInput() == 0;
PropertyValueSetter.setPropertyValue(action, "floatInput", Float.TYPE, 5.0F);
assert action.getFloatInput() == 5.0F;
PropertyValueSetter.setPropertyValue(action, "doubleInput", Double.TYPE, null);
assert action.getDoubleInput() == 0;
PropertyValueSetter.setPropertyValue(action, "doubleInput", Double.TYPE, 6.2);
assert action.getDoubleInput() == 6.2;
}