@Test
public void timeChecksHowLongAFunctionRunsFor() {

    String result = FunctionUtilities.time("foo", Unchecked.supplier(() -> { Thread.sleep(500); return "a"; }));
    assertEquals("a", result);
}