### Question:
HttpValueFunctions { public static Function<HttpToolResponse, Long> latency() { return new Latency(); } private  HttpValueFunctions(); static Function<HttpToolResponse, Integer> responseCode(); static Function<HttpToolResponse, Boolean> responseCodeEquals(final int expected); static Function<HttpToolResponse, Boolean> responseCodeEquals(final int... expected); static Function<HttpToolResponse, String> stringContentsFunction(); static Function<HttpToolResponse, JsonElement> jsonContents(); static Function<HttpToolResponse, T> jsonContents(String element, Class<T> expected); static Function<HttpToolResponse, T> jsonContents(String[] elements, Class<T> expected); static Function<HttpToolResponse, T> jsonContentsFromPath(String path); static Function<HttpToolResponse, Long> latency(); static Function<HttpToolResponse, Boolean> containsHeader(String header); @Deprecated static Function<A,C> chain(final Function<A,? extends B> f1, final Function<B,C> f2); @Deprecated static Function<A,D> chain(final Function<A,? extends B> f1, final Function<B,? extends C> f2, final Function<C,D> f3); @Deprecated static Function<A,E> chain(final Function<A,? extends B> f1, final Function<B,? extends C> f2, final Function<C,? extends D> f3, final Function<D,E> f4);  }### Answer:
@Test public void testLatency() throws Exception { assertEquals(HttpValueFunctions.latency().apply(response), Long.valueOf(fullLatency)); }