### Question:
ScopeImpl implements Scope { @Override public String getProperty(final String key) { return properties.get(key); } ScopeImpl(final String scopeName, final Map<String, String> properties); @Override String getProperty(final String key); @Override Map<String, String> getProperties(); @Override String getName(); @Override int hashCode(); @Override boolean equals(final Object obj); @SuppressWarnings("nls") @Override String toString(); @Override boolean containsAllProperties(final Map<String, String> otherProperties);  }### Answer:
@Test public void testGetProperty() { final Map<String, String> props = new HashMap<String, String>(); props.put("test", "value"); final Scope scope = new ScopeImpl("test", props); Assert.assertEquals("value", scope.getProperty("test")); }