ServiceContextManager { public static ServiceContext set(ServiceContext serviceContext) { Objects.requireNonNull(serviceContext); return setWithClassLoader(serviceContext, serviceContext.getClassLoader()); } private  ServiceContextManager(); static ServiceContext set(ServiceContext serviceContext); static ServiceContext setToStaticClassLoader(ServiceContext serviceContext); static ServiceContext getServiceContext(ClassLoader classLoader); static ServiceContext getServiceContext(); static ClassLoader getDefaultClassLoader();  }
@Test(expected = NullPointerException.class) public void setRequiresNonNullParameter() { ServiceContextManager.set(null); }