@@ -0,0 +1,1082 @@
+package com.github.vbauer.caesar.callback;%0A%0Aimport com.github.vbauer.caesar.basic.BasicTest;%0Aimport org.junit.Assert;%0Aimport org.junit.Test;%0A%0Aimport java.util.concurrent.atomic.AtomicBoolean;%0A%0A/**%0A * @author Vladislav Bauer%0A */%0A%0Apublic class FutureCallbackAdapterTest extends BasicTest %7B%0A%0A    @Test%0A    public void testCallback() %7B%0A        final AtomicBoolean onSuccess = new AtomicBoolean(false);%0A        final AtomicBoolean onFailure = new AtomicBoolean(false);%0A%0A        final FutureCallbackAdapter%3CObject%3E callback = new FutureCallbackAdapter%3CObject%3E() %7B%0A            @Override%0A            public void onSuccess(final Object result) %7B%0A                super.onSuccess(result);%0A                onSuccess.set(true);%0A            %7D%0A%0A            @Override%0A            public void onFailure(final Throwable caught) %7B%0A                super.onFailure(caught);%0A                onFailure.set(true);%0A            %7D%0A        %7D;%0A%0A        callback.onSuccess(null);%0A        callback.onFailure(null);%0A%0A        Assert.assertTrue(onSuccess.get());%0A        Assert.assertTrue(onFailure.get());%0A    %7D%0A%0A%7D%0A

Add unit tests for FutureCallbackAdapter