@Test
    public void shouldApplyCurrentFunctionAndThenAnotherSuppliedOne() {
        final TriFunction<String, String, String, String> f = (a, b, c) -> a + b + c;
        final UnaryOperator<String> after = (s) -> s + "last";
        assertEquals("123last", f.andThen(after).apply("1", "2", "3"));
    }
@author Stephen Mallette (http://stephen.genoprime.com)
gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/util/function/TriFunctionTest.java