@Test
public void testSetterWithNoParameterClass()
        throws Exception
{

    TestMonitor monitor = new TestMonitor();
    ConfigurationMetadata<?> metadata = ConfigurationMetadata.getConfigurationMetadata(SetterWithNoParameterClass.class, monitor);
    Map<String, Set<String>> expectedAttributes = new HashMap<>();
    verifyMetaData(metadata, SetterWithNoParameterClass.class, null, false, expectedAttributes);
    monitor.assertNumberOfErrors(1);
    monitor.assertNumberOfWarnings(0);
    monitor.assertMatchingErrorRecorded("does not have exactly one parameter", SetterWithNoParameterClass.class.getName(), "setValue");
}