### Question:
BucketFunctions { public static BucketFunction latencyBiasSlow(long max, TimeUnit unit) { return wrap(com.netflix.spectator.api.histogram.BucketFunctions.latencyBiasSlow(max, unit)); } private  BucketFunctions(); static BucketFunction age(long max, TimeUnit unit); static BucketFunction latency(long max, TimeUnit unit); static BucketFunction ageBiasOld(long max, TimeUnit unit); static BucketFunction latencyBiasSlow(long max, TimeUnit unit);  }### Answer:
@Test public void latency100msBiasSlow() { BucketFunction f = BucketFunctions.latencyBiasSlow(100, TimeUnit.MILLISECONDS); Assertions.assertEquals("negative_latency", f.apply(TimeUnit.MILLISECONDS.toNanos(-1))); Assertions.assertEquals("050ms", f.apply(TimeUnit.MILLISECONDS.toNanos(1))); Assertions.assertEquals("050ms", f.apply(TimeUnit.MILLISECONDS.toNanos(13))); Assertions.assertEquals("050ms", f.apply(TimeUnit.MILLISECONDS.toNanos(25))); Assertions.assertEquals("075ms", f.apply(TimeUnit.MILLISECONDS.toNanos(74))); Assertions.assertEquals("075ms", f.apply(TimeUnit.MILLISECONDS.toNanos(75))); Assertions.assertEquals("100ms", f.apply(TimeUnit.MILLISECONDS.toNanos(99))); Assertions.assertEquals("slow", f.apply(TimeUnit.MILLISECONDS.toNanos(101))); }