Context { public User getUser() { return user; } Context();  Context(final User user);  Context(final Context context); private  Context(final User user, final Map<String, Object> config); @Deprecated private  Context(final User user, final Map<String, Object> config, final String jobId); Context shallowClone(); User getUser(); final String getJobId(); Map<String, Object> getVariables(); Object getVariable(final String key); void setVariables(final Map<String, Object> variables); void setVariable(final String key, final Object value); void addVariables(final Map<String, Object> variables); Collection<Exporter> getExporters(); void addExporter(final Exporter exporter); E getExporter(final Class<? extends E> exporterClass); Object getConfig(final String key); void setConfig(final String key, final Object value); OperationChain<?> getOriginalOpChain(); void setOriginalOpChain(final OperationChain<?> originalOpChain); @Override boolean equals(final Object obj); @Override int hashCode(); @Override String toString(); static String createJobId();  }
@Test public void shouldConstructContextWithUnknownUser() { final Context context = new Context(); assertEquals(User.UNKNOWN_USER_ID, context.getUser().getUserId()); }