@@ -0,0 +1,1520 @@
+package com.pushtechnology.adapters;%0A%0Aimport static com.pushtechnology.diffusion.client.features.control.topics.TopicAddFailReason.EXISTS;%0Aimport static com.pushtechnology.diffusion.client.features.control.topics.TopicAddFailReason.EXISTS_MISMATCH;%0Aimport static org.mockito.Mockito.verify;%0Aimport static org.mockito.Mockito.verifyNoMoreInteractions;%0Aimport static org.mockito.MockitoAnnotations.initMocks;%0A%0Aimport org.junit.After;%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0Aimport org.mockito.Mock;%0A%0A/**%0A * Unit tests for %7B@link AddTopicCallback%7D.%0A *%0A * @author Matt Champion on 13/07/2016%0A */%0Apublic final class AddTopicCallbackTest %7B%0A    @Mock%0A    private PublishingClient.InitialiseCallback callback;%0A%0A    private AddTopicCallback addTopicCallback;%0A%0A    @Before%0A    public void setUp() %7B%0A        initMocks(this);%0A%0A        addTopicCallback = new AddTopicCallback(%22topic%22, callback);%0A    %7D%0A%0A    @After%0A    public void postConditions() %7B%0A        verifyNoMoreInteractions(callback);%0A    %7D%0A%0A    @Test%0A    public void onTopicAdded() %7B%0A        addTopicCallback.onTopicAdded(%22topic%22);%0A%0A        verify(callback).onTopicAdded(%22topic%22);%0A    %7D%0A%0A    @Test%0A    public void onTopicAddFailedExists() %7B%0A        addTopicCallback.onTopicAddFailed(%22topic%22, EXISTS);%0A%0A        verify(callback).onTopicAdded(%22topic%22);%0A    %7D%0A%0A    @Test%0A    public void onTopicAddFailed() %7B%0A        addTopicCallback.onTopicAddFailed(%22topic%22, EXISTS_MISMATCH);%0A    %7D%0A%0A    @Test%0A    public void onDiscard() %7B%0A        addTopicCallback.onDiscard();%0A    %7D%0A%7D%0A

Add tests for AddTopicCallbackTest.