InternalFunctors { @SuppressWarnings("unchecked") static<A, B, C, D, T> Map5<A, B, C, D, T, T> lastOfFive() { return LAST_OF_FIVE; }    }
@Test public void testLastOfFive() { Map5<Integer, String, String, String, String, String> map = InternalFunctors.lastOfFive(); assertEquals("sequence", map.toString()); assertEquals("five", map.map(1, "two", "three", "four", "five")); }