@Test
public void testAttributesFromYaml() throws Exception {
final File configFile = getFile(MapAttributeTest.class, "map_attributes/config-yaml.yaml");
final Configuration config = configurationFactory.getConfig(configFile);
final Template template = config.getTemplate("main");
final PJsonObject pJsonObject = parseJSONObjectFromFile(MapAttributeTest.class, "map_attributes/requestData-yaml.json");
final Values values = new Values(pJsonObject, template, new MapfishParser(), getTaskDirectory(), this.httpRequestFactory, new File("."));
final MapAttribute.MapAttributeValues value = values.getObject("mapDef", MapAttribute.MapAttributeValues.class);
assertEquals(80.0, value.getDpi(), 0.1);