@Test public void resetAuthorization() { context.setAuthorization( authorization ); context.resetAuthorization(); Assert.assertNotSame( authorization, context.getAuthorization() ); Assert.assertNull( context.getAuthorization().getAuthorization() ); }
@Override public void resetAuthorization() { THREAD_LOCAL.set( null ); }
ThreadLocalAuthorizationContext implements AuthorizationContext { @Override public void resetAuthorization() { THREAD_LOCAL.set( null ); } }
ThreadLocalAuthorizationContext implements AuthorizationContext { @Override public void resetAuthorization() { THREAD_LOCAL.set( null ); }  }
ThreadLocalAuthorizationContext implements AuthorizationContext { @Override public void resetAuthorization() { THREAD_LOCAL.set( null ); }  @Nonnull @Override Authorization getAuthorization(); @Override void setAuthorization( @Nonnull Authorization authorization ); @Override void resetAuthorization(); }
ThreadLocalAuthorizationContext implements AuthorizationContext { @Override public void resetAuthorization() { THREAD_LOCAL.set( null ); }  @Nonnull @Override Authorization getAuthorization(); @Override void setAuthorization( @Nonnull Authorization authorization ); @Override void resetAuthorization();  }