@@ -0,0 +1,865 @@
+// Licensed under the MIT license. See LICENSE file in the project root for full license information.%0Apackage com.tunnelvisionlabs.util.concurrent;%0A%0Aimport java.util.function.Function;%0Aimport org.junit.Assert;%0Aimport org.junit.Test;%0A%0Aimport static org.hamcrest.Matchers.emptyArray;%0A%0Apublic class FunctionsTest %7B%0A%09@Test%0A%09public void testNoMembers() %7B%0A%09%09Assert.assertThat(Functions.values(), emptyArray());%0A%09%7D%0A%0A%09@Test%0A%09public void testIdentityBehavior() %7B%0A%09%09Assert.assertNull(Function.identity().apply(null));%0A%0A%09%09Object expected = new Object();%0A%09%09Assert.assertSame(expected, Function.identity().apply(expected));%0A%09%7D%0A%0A%09@Test%0A%09public void testIdentityCaching() %7B%0A%09%09Function%3CInteger, Integer%3E integerIdentity = Functions.identity();%0A%09%09Function%3CException, Exception%3E exceptionIdentity = Functions.identity();%0A%09%09Assert.assertSame(integerIdentity, exceptionIdentity);%0A%09%7D%0A%7D%0A

Add tests for Functions