/*
 * Copyright (c) 2006-2015 DMDirc Developers
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */

package com.dmdirc.addons.channelwho;

import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.runners.MockitoJUnitRunner;

@RunWith(MockitoJUnitRunner.class)
public class ChannelWhoManagerTest {

    private ChannelWhoManager instance;

    @Before
    public void setUp() throws Exception {
        instance = new ChannelWhoManager("test");
    }

    @Test
    public void testLoad() throws Exception {

    }

    @Test
    public void testUnload() throws Exception {

    }
}
@@ -1160,16 +1160,100 @@
 elwho;%0A%0A
+import com.dmdirc.DMDircMBassador;%0Aimport com.dmdirc.interfaces.ConnectionManager;%0A%0A
 import o
@@ -1269,16 +1269,16 @@
 Before;%0A
-
 import o
@@ -1325,16 +1325,41 @@
 unWith;%0A
+import org.mockito.Mock;%0A
 import o
@@ -1467,24 +1467,124 @@
 agerTest %7B%0A%0A
+    @Mock private ConnectionManager connectionManager;%0A    @Mock private DMDircMBassador eventBus;%0A%0A
     private 
@@ -1667,16 +1667,16 @@
 ption %7B%0A
-
         
@@ -1714,16 +1714,45 @@
 r(%22test%22
+, connectionManager, eventBus
 );%0A    %7D

Fix random test.