@Test
public void testGetValidAbstractClass()
{

    TestMonitor monitor = new TestMonitor();
    try {
        ConfigurationMetadata.getValidConfigurationMetadata(AbstractClass.class, monitor);
        fail("Expected ConfigurationException");
    }
    catch (ConfigurationException e) {
        monitor.assertNumberOfErrors(1);
        monitor.assertNumberOfWarnings(0);
        monitor.assertMatchingErrorRecorded("abstract", AbstractClass.class.getName());
    }
}