@Test public void containsKey() throws ComponentLookupException { Assert.assertFalse(this.mocker.getComponentUnderTest().containsKey("commented")); Assert.assertFalse(this.mocker.getComponentUnderTest().containsKey("#commented")); Assert.assertFalse(this.mocker.getComponentUnderTest().containsKey("World!")); Assert.assertTrue(this.mocker.getComponentUnderTest().containsKey("an.integer")); Assert.assertTrue(this.mocker.getComponentUnderTest().containsKey("a.boolean")); Assert.assertTrue(this.mocker.getComponentUnderTest().containsKey("last.value.is.used")); Assert.assertTrue(this.mocker.getComponentUnderTest().containsKey("space")); Assert.assertTrue(this.mocker.getComponentUnderTest().containsKey("Just.a.keyWord")); Assert.assertFalse(this.mocker.getComponentUnderTest().containsKey("Just.a.keyword")); }
@Override public boolean containsKey(String key) { return this.properties.containsKey(key); }
LegacyXWikiConfigurationSource implements ConfigurationSource, Initializable { @Override public boolean containsKey(String key) { return this.properties.containsKey(key); } }
LegacyXWikiConfigurationSource implements ConfigurationSource, Initializable { @Override public boolean containsKey(String key) { return this.properties.containsKey(key); }  }
LegacyXWikiConfigurationSource implements ConfigurationSource, Initializable { @Override public boolean containsKey(String key) { return this.properties.containsKey(key); }  @Override void initialize(); @SuppressWarnings("unchecked") @Override T getProperty(String key, T defaultValue); @SuppressWarnings("unchecked") @Override T getProperty(String key, Class<T> valueClass); @SuppressWarnings("unchecked") @Override T getProperty(String key); @Override List<String> getKeys(); @Override boolean containsKey(String key); @Override boolean isEmpty(); }
LegacyXWikiConfigurationSource implements ConfigurationSource, Initializable { @Override public boolean containsKey(String key) { return this.properties.containsKey(key); }  @Override void initialize(); @SuppressWarnings("unchecked") @Override T getProperty(String key, T defaultValue); @SuppressWarnings("unchecked") @Override T getProperty(String key, Class<T> valueClass); @SuppressWarnings("unchecked") @Override T getProperty(String key); @Override List<String> getKeys(); @Override boolean containsKey(String key); @Override boolean isEmpty();  }