@Test
public void testSetterNoGetterConfigClassThrows()
{

    TestMonitor monitor = new TestMonitor();
    try {
        ConfigurationMetadata<?> metadata = ConfigurationMetadata.getValidConfigurationMetadata(SetterNoGetterConfigClass.class, monitor);
        fail("Expected ConfigurationException");
    }
    catch (ConfigurationException e)
    {
        monitor.assertNumberOfErrors(1);
        monitor.assertNumberOfWarnings(0);
        monitor.assertMatchingErrorRecorded("No getter");
    }
}