@Test
public void testNotJavaBeanClass()
        throws Exception
{

    TestMonitor monitor = new TestMonitor();
    ConfigurationMetadata<?> metadata = ConfigurationMetadata.getConfigurationMetadata(NotJavaBeanClass.class, monitor);
    Map<String, Set<String>> expectedAttributes = new HashMap<>();
    verifyMetaData(metadata, NotJavaBeanClass.class, null, false, expectedAttributes);
    monitor.assertNumberOfErrors(1);
    monitor.assertNumberOfWarnings(0);
    monitor.assertMatchingErrorRecorded("not a valid setter", "putValue");
}