@Test public void testGetScope() { final Context instance = EmptyContext.getInstance(); final String expected = "<<empty>>"; final String actual = instance.getScope(); assertEquals(expected, actual); }
@Override public String getScope() { return scope; }
EmptyContext implements Context { @Override public String getScope() { return scope; } }
EmptyContext implements Context { @Override public String getScope() { return scope; } EmptyContext(); }
EmptyContext implements Context { @Override public String getScope() { return scope; } EmptyContext(); static Context getInstance(); @Override Context withValue(final Key<T> key, final T value); @Override T get(final Key<T> key); @Override T getOrDefault(final Key<T> key, final T defaultValue); @Override Context withScope(final String scope); @Override String getScope(); }
EmptyContext implements Context { @Override public String getScope() { return scope; } EmptyContext(); static Context getInstance(); @Override Context withValue(final Key<T> key, final T value); @Override T get(final Key<T> key); @Override T getOrDefault(final Key<T> key, final T defaultValue); @Override Context withScope(final String scope); @Override String getScope();  }