assert config!=null;
Collection<Property> properties = config.getProperties();
assert properties.size()==14 : "Expected 14 props but got " + properties.size();
ConfigurationDefinition definition = new ConfigurationDefinition("bla","For testing");
definition.put(new PropertyDefinitionSimple("float1","A float",true, PropertySimpleType.FLOAT));
definition.put(new PropertyDefinitionSimple("float2","A float",true, PropertySimpleType.FLOAT));
definition.put(new PropertyDefinitionSimple("float3","A float",true, PropertySimpleType.FLOAT));
definition.put(new PropertyDefinitionSimple("float4","A float",true, PropertySimpleType.FLOAT));
definition.put(new PropertyDefinitionSimple("double1","A double",true, PropertySimpleType.DOUBLE));
definition.put(new PropertyDefinitionSimple("double2","A double",true, PropertySimpleType.DOUBLE));
definition.put(new PropertyDefinitionSimple("double3","A double",true, PropertySimpleType.DOUBLE));
definition.put(new PropertyDefinitionSimple("int1","An int",true, PropertySimpleType.INTEGER));
definition.put(new PropertyDefinitionSimple("int2","An int",true, PropertySimpleType.INTEGER));
definition.put(new PropertyDefinitionSimple("int3","An int",true, PropertySimpleType.INTEGER));
definition.put(new PropertyDefinitionSimple("int4","An int",true, PropertySimpleType.INTEGER));
definition.put(new PropertyDefinitionSimple("long1","A long",true, PropertySimpleType.LONG));
definition.put(new PropertyDefinitionSimple("long2","A long",true, PropertySimpleType.LONG));
definition.put(new PropertyDefinitionSimple("long3","A long",true, PropertySimpleType.LONG));
List<String> errors = ConfigurationHelper.checkConfigurationWrtDefinition(config,definition);
assert errors!=null;
assert errors.size()==10 : "Expected 10 errors, but got " + errors.size() + "\n" + StringUtils.getListAsString(errors,",\n");