@Test
public void testThrowingVoidToNothing1() throws Exception {

    final AtomicInteger latch = new AtomicInteger(0);
    final Fun.ThrowingConsumer<Integer> consumer = value -> {
        if (value % 3 == 0) {
            throw new Exception("multiples of three are disallowed");
        }
        latch.addAndGet(value);
    };
    assertSame("should be the same nothing",
            Nothing.instance, throwingVoidToNothing1(consumer).tryApply(2));
    assertEquals("latch value should be 2", 2, latch.get());
}