@Test public void testGetScope() { final String expected = randomUUID().toString(); final Context context = new ContextConc(root, expected); final String actual = context.getScope(); assertEquals(expected, actual); }
@Override public String getScope() { return this.scope; }
ContextConc implements Context { @Override public String getScope() { return this.scope; } }
ContextConc implements Context { @Override public String getScope() { return this.scope; } <T> ContextConc(final Context parent, final String scope);  <T> ContextConc(final Context parent, final Key<T> key, final T value); }
ContextConc implements Context { @Override public String getScope() { return this.scope; } <T> ContextConc(final Context parent, final String scope);  <T> ContextConc(final Context parent, final Key<T> key, final T value); @Override Context withValue(final Key<T> key, final T value); @SuppressWarnings("unchecked") @Override T get(final Key<T> key); @SuppressWarnings("unchecked") @Override T getOrDefault(final Key<T> key, final T defaultValue); @Override Context withScope(final String scope); @Override String getScope(); }
ContextConc implements Context { @Override public String getScope() { return this.scope; } <T> ContextConc(final Context parent, final String scope);  <T> ContextConc(final Context parent, final Key<T> key, final T value); @Override Context withValue(final Key<T> key, final T value); @SuppressWarnings("unchecked") @Override T get(final Key<T> key); @SuppressWarnings("unchecked") @Override T getOrDefault(final Key<T> key, final T defaultValue); @Override Context withScope(final String scope); @Override String getScope();  }