HibernateConfiguration extends AbstractConfiguration implements Configuration { @Override public boolean isEmpty() { return getConfiguration().isEmpty(); } HibernateConfiguration(final SessionFactory factory,
                                  final String section); @Override boolean isEmpty(); @Override boolean containsKey(final String key); @Override Object getProperty(final String key); @Override void clear(); @Override Iterator<String> getKeys();  }
@Test public void testIsEmpty() { assertTrue(configOne.isEmpty()); configOne.addProperty("key", "value"); assertFalse(configOne.isEmpty()); }