### Question:
StandaloneExecutionContext implements ExecutionContext { public Hashtable<Object, Object> getAttributes() { return attributes; } StandaloneExecutionContext(String targetProfile, ApplicationContext context, List<ContentHandlerBinding<Visitor>> extendedContentHandlerBindings);  StandaloneExecutionContext(String targetProfile, ApplicationContext applicationContext, String contentEncoding, List<ContentHandlerBinding<Visitor>> extendedContentHandlerBindings); void setDocumentSource(URI docSource); URI getDocumentSource(); ApplicationContext getApplicationContext(); ProfileSet getTargetProfiles(); ContentDeliveryConfig getDeliveryConfig(); void setContentEncoding(String contentEncoding); String getContentEncoding(); void setEventListener(ExecutionEventListener listener); ExecutionEventListener getEventListener(); void setTerminationError(Throwable terminationError); Throwable getTerminationError(); String getConfigParameter(String name); String getConfigParameter(String name, String defaultVal); boolean isDefaultSerializationOn(); void setAttribute(Object key, Object value); Object getAttribute(Object key); void removeAttribute(Object key); String toString(); Hashtable<Object, Object> getAttributes(); BeanContext getBeanContext(); void setBeanContext(BeanContext beanContext);  }### Answer:
@Test public void getAttributes() { final String key = "testKey"; final String value = "testValue"; context.setAttribute( key, value ); Hashtable attributes = context.getAttributes(); assertTrue( attributes.containsKey( key ) ); assertTrue( attributes.contains( value ) ); }