@Test
public void testEmptyStringInArrayLegacyConfigClass()
        throws Exception
{

    TestMonitor monitor = new TestMonitor();
    ConfigurationMetadata<?> metadata = ConfigurationMetadata.getConfigurationMetadata(EmptyStringInArrayLegacyConfigClass.class, monitor);
    Map<String, Set<String>> expectedAttributes = new HashMap<>();
    verifyMetaData(metadata, EmptyStringInArrayLegacyConfigClass.class, null, false, expectedAttributes);
    monitor.assertNumberOfErrors(1);
    monitor.assertNumberOfWarnings(0);
    monitor.assertMatchingErrorRecorded("@LegacyConfig method", EmptyStringInArrayLegacyConfigClass.class.getName(), "setValue", "null or empty value");
}