@@ -0,0 +1,967 @@
+package io.dropwizard.discovery.client;%0A%0Aimport org.junit.Test;%0A%0Aimport static org.assertj.core.api.Assertions.failBecauseExceptionWasNotThrown;%0Aimport static org.mockito.Mockito.mock;%0Aimport static org.mockito.Mockito.verify;%0A%0Apublic class DiscoveryClientManagerTest %7B%0A%0A    @SuppressWarnings(%22unchecked%22)%0A    DiscoveryClient%3CString%3E client = mock(DiscoveryClient.class);%0A%0A    DiscoveryClientManager%3CString%3E manager = new DiscoveryClientManager%3CString%3E(client);%0A%0A    @Test%0A    public void testConstructorInvalidClient() %7B%0A        try %7B%0A            new DiscoveryClientManager%3CString%3E(null);%0A            failBecauseExceptionWasNotThrown(NullPointerException.class);%0A        %7D catch (NullPointerException npe) %7B%0A        %7D%0A    %7D%0A%0A    @Test%0A    public void testStart() throws Exception %7B%0A        manager.start();%0A        verify(client).start();%0A    %7D%0A%0A    @Test%0A    public void testStop() throws Exception %7B%0A        manager.stop();%0A        verify(client).close();%0A    %7D%0A%7D%0A

Add unit tests for DiscoveryClientManager