@@ -0,0 +1,1840 @@
+package com.tinkerpop.blueprints.util;%0A%0Aimport com.tinkerpop.blueprints.util.function.HexConsumer;%0Aimport com.tinkerpop.blueprints.util.function.TriConsumer;%0Aimport org.junit.Test;%0A%0Aimport java.util.ArrayList;%0Aimport java.util.List;%0A%0Aimport static org.junit.Assert.assertEquals;%0Aimport static org.junit.Assert.fail;%0A%0A/**%0A * @author Stephen Mallette (http://stephen.genoprime.com)%0A */%0Apublic class HexConsumerTest %7B%0A    @Test%0A    public void shouldApplyCurrentFunctionAndThenAnotherSuppliedOne() %7B%0A        final List%3CString%3E l = new ArrayList%3C%3E();%0A        final HexConsumer%3CString, String, String, String, String, String%3E f = (a,b,c,d,e,g) -%3E l.add(%22first%22);%0A        final HexConsumer%3CString, String, String, String, String, String%3E after = (a,b,c,d,e,g) -%3E l.add(%22second%22);%0A%0A        f.andThen(after).accept(%22a%22,%22b%22,%22c%22,%22d%22,%22e%22,%22f%22);%0A%0A        assertEquals(2, l.size());%0A        assertEquals(%22first%22, l.get(0));%0A        assertEquals(%22second%22, l.get(1));%0A    %7D%0A%0A    @Test(expected = NullPointerException.class)%0A    public void shouldThrowIfAfterFunctionIsNull() %7B%0A        final List%3CString%3E l = new ArrayList%3C%3E();%0A        final HexConsumer%3CString, String, String, String, String, String%3E f = (a,b,c,d,e,g) -%3E l.add(%22second%22);%0A        f.andThen(null);%0A    %7D%0A%0A    @Test%0A    public void shouldNotApplySecondIfFirstFails() %7B%0A        final List%3CString%3E l = new ArrayList%3C%3E();%0A        final HexConsumer%3CString, String, String, String, String, String%3E f = (a,b,c,d,e,g) -%3E %7B throw new RuntimeException(); %7D;%0A        final HexConsumer%3CString, String, String, String, String, String%3E after = (a,b,c,d,e,g) -%3E l.add(%22second%22);%0A%0A        try %7B%0A            f.andThen(after).accept(%22a%22,%22b%22,%22c%22,%22d%22,%22e%22,%22f%22);%0A            fail(%22Should have throw an exception%22);%0A        %7D catch (RuntimeException re) %7B%0A            assertEquals(0, l.size());%0A        %7D%0A    %7D%0A%7D%0A

Add HexConsumerTest.