@Test public void testProperties() throws Exception { assertNotNull(clazz.getSomeValue1()); assertNotNull(clazz.getSomeValue2()); assertNotNull(clazz.getSomeValue4()); assertNotNull(clazz.getSomeOtherValue()); assertEquals(clazz.getSomeValue1(), "custom"); assertEquals(clazz.getSomeValue2(), "value2"); assertEquals(clazz.getSomeValue4(), "custom-custom2"); assertEquals(clazz.getSomeOtherValue(), "custom2"); assertNotNull(config.getProperty("property.1.name", String.class)); assertEquals(config.getProperty("property.1.name", String.class), "custom"); }