@Test
public void testComplexMapClass()
        throws Exception
{

    TestMonitor monitor = new TestMonitor();
    ConfigurationMetadata<?> metadata = ConfigurationMetadata.getConfigurationMetadata(ConfigMapComplex.class, monitor);
    Map<String, Set<String>> expectedAttributes = new HashMap<>();
    expectedAttributes.put("Map", ImmutableSet.of("map"));
    verifyMetaData(metadata, ConfigMapComplex.class, null, false, expectedAttributes);
    monitor.assertNumberOfErrors(0);
    monitor.assertNumberOfWarnings(0);
}