@@ -0,0 +1,510 @@
+package com.twitter.util;%0A%0Aimport junit.framework.TestCase;%0A%0A/**%0A * Tests are not currently run for java, but for our purposes, if the test compiles at all, it's%0A * a success.%0A */%0Apublic class FutureTest extends TestCase %7B%0A  public void testFutureCast() %7B%0A    Future%3CString%3E f = Future$.MODULE$.value(%2223%22);%0A    Future%3CInteger%3E f2 = f.map(new Function%3CString, Integer%3E() %7B%0A      public Integer apply(String in) %7B%0A        return Integer.parseInt(in);%0A      %7D%0A    %7D);%0A    assertEquals((int) f2.get(), 23);%0A  %7D%0A%7D%0A

add a unit test that map() works and preserves types