@Test
public void testMultipleAnnotatedSettersClass()
{

    TestMonitor monitor = new TestMonitor();
    ConfigurationMetadata<?> metadata = ConfigurationMetadata.getConfigurationMetadata(MultipleAnnotatedSettersClass.class, monitor);
    // Not validating metadata, since the actual setter it picks is not deterministic
    monitor.assertNumberOfErrors(1);
    monitor.assertNumberOfWarnings(0);
    monitor.assertMatchingErrorRecorded("Multiple methods are annotated", "Value");
}