@Test
public void testMapConfigTypesNotConcreteClass()
        throws Exception
{

    TestMonitor monitor = new TestMonitor();
    ConfigurationMetadata<?> metadata = ConfigurationMetadata.getConfigurationMetadata(MapConfigTypesNotConcreteClass.class, monitor);
    Map<String, Set<String>> expectedAttributes = new HashMap<>();
    verifyMetaData(metadata, MapConfigTypesNotConcreteClass.class, null, false, expectedAttributes);
    monitor.assertNumberOfErrors(2);
    monitor.assertNumberOfWarnings(0);
    monitor.assertMatchingErrorRecorded("Configuration setter method", "setValue", "Map key type is not a concrete class");
    monitor.assertMatchingErrorRecorded("Configuration setter method", "setValue", "Map value type is not a concrete class");
}