    @Test
    public void testGetCurrentValueForMethods()
    {

        DerivedModelWithMethods model = new DerivedModelWithMethods();
        model.setSimpleEnumField(SimpleEnum.Name);
        model.setComplexEnumField(ComplexEnum.Application);
        model.setStringField("Another test");
        model.setLongField(92345);
        model.setIntField(-234);
        model.setBoolField(false);
        Assert.assertEquals(SimpleEnum.Name, model.getCurrentValue("simpleEnumField"));
        Assert.assertEquals(ComplexEnum.Application, model.getCurrentValue("complexEnumField"));
        Assert.assertEquals("Another test", model.getCurrentValue("stringField"));
        Assert.assertEquals((long)92345, model.getCurrentValue("longField"));
        Assert.assertEquals(-234, model.getCurrentValue("intField"));
        Assert.assertEquals(false, model.getCurrentValue("boolField"));
    }