RpcRuleSampler implements SamplerFunction<RpcRequest> { @Override public Boolean trySample(RpcRequest request) { return delegate.trySample(request); } RpcRuleSampler(ParameterizedSampler delegate); static Builder newBuilder(); @Override Boolean trySample(RpcRequest request);  }
@Test public void nullOnNull() { assertThat(sampler.trySample(null)) .isNull(); }