### Question:
Present implements Future<T> { @Override public T get() throws InterruptedException, ExecutionException { return mValue; } Present(T value); @Override boolean cancel(boolean b); @Override boolean isCancelled(); @Override boolean isDone(); @Override T get(); @Override T get(long l, TimeUnit timeUnit);  }### Answer:
@Test public void presentWithNullGetsNull() throws ExecutionException, InterruptedException { final Present present = new Present(null); Assert.assertEquals(null, present.get()); }
@Test public void presentWithObjGetsObj() throws ExecutionException, InterruptedException { final Object obj = new Object(); Present present = new Present(obj); Assert.assertEquals(obj, present.get()); }