### Question:
ExecutionContext implements ClassLoaderFactory, Cloneable { public String getId() { return id; } @SuppressWarnings( "synthetic-access" )  ExecutionContext(); protected  ExecutionContext( ExecutionContext original ); protected  ExecutionContext( ExecutionContext original,
                                SecurityContext securityContext ); protected  ExecutionContext( SecurityContext securityContext,
                                NamespaceRegistry namespaceRegistry,
                                ValueFactories valueFactories,
                                PropertyFactory propertyFactory,
                                MimeTypeDetector mimeTypeDetector,
                                ClassLoaderFactory classLoaderFactory,
                                Map<String, String> data,
                                String processId ); ClassLoaderFactory getClassLoaderFactory(); Logger getLogger( Class<?> clazz ); Logger getLogger( String name ); MimeTypeDetector getMimeTypeDetector(); SecurityContext getSecurityContext(); NamespaceRegistry getNamespaceRegistry(); final PropertyFactory getPropertyFactory(); ValueFactories getValueFactories(); ClassLoader getClassLoader( String... classpath ); String getId(); String getProcessId(); Map<String, String> getData(); ExecutionContext with( NamespaceRegistry namespaceRegistry ); ExecutionContext with( MimeTypeDetector mimeTypeDetector ); ExecutionContext with( ClassLoaderFactory classLoaderFactory ); ExecutionContext with( SecurityContext securityContext ); ExecutionContext with( Map<String, String> data ); ExecutionContext with( String key,
                                  String value ); ExecutionContext with( String processId ); @Override ExecutionContext clone(); @Override String toString(); static ExecutionContext getDefaultContext();  }### Answer:
@Test public void shouldHaveIdentifierThatIsNotNull() { assertThat(context.getId(), is(notNullValue())); }
@Test public void shouldHaveIdentifierThatIsNotBlank() { assertThat(context.getId().length(), is(not(0))); assertThat(context.getId().trim().length(), is(not(0))); }
@Test public void shouldHaveIdentifierThatIsUnique() { Set<String> ids = new HashSet<String>(); for (int i = 0; i != 50; ++i) { assertThat(ids.add(new ExecutionContext().getId()), is(true)); } }