ServerProvider { public static ServerProvider provider() { if (provider == null) { throw new ProviderNotFoundException("No functional server found. " + "Try adding a dependency on the grpc-netty artifact"); } return provider; }  static ServerProvider provider();  }
@Test(expected = ManagedChannelProvider.ProviderNotFoundException.class) public void noProvider() { ServerProvider.provider(); }