@@ -0,0 +1,1813 @@
+package de.developgroup.mrf.server.handler;%0A%0Aimport de.developgroup.mrf.server.ClientManager;%0Aimport de.developgroup.mrf.server.rpc.JsonRpc2Request;%0Aimport org.junit.After;%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0A%0Aimport static org.junit.Assert.fail;%0Aimport static org.mockito.Matchers.anyString;%0Aimport static org.mockito.Mockito.mock;%0Aimport static org.mockito.Mockito.verify;%0A%0Apublic class NotificationHandlerImplTest %7B%0A%0A    private ClientManager clientManager;%0A    private NotificationHandler notificationHandler;%0A%0A    @Before%0A    public void setUp() %7B%0A        clientManager = mock(ClientManager.class);%0A        notificationHandler = new NotificationHandlerImpl(clientManager);%0A    %7D%0A%0A    @After%0A    public void tearDown() %7B%0A    %7D%0A%0A    @Test%0A    public void testDistributeNotification()%7B%0A        String message = %22Normal Notification%22;%0A        notificationHandler.distributeNotification(message);%0A        JsonRpc2Request notification = new JsonRpc2Request(%0A                %22incomingNotification%22, message);%0A%0A        verify(clientManager).notifyAllClients(notification);%0A    %7D%0A%0A    @Test%0A    public void testDistributeAlertNotification()%7B%0A        String message = %22Alert Notification%22;%0A        notificationHandler.distributeAlertNotification(message);%0A        JsonRpc2Request notification = new JsonRpc2Request(%0A                %22showAlertNotification%22, message);%0A%0A        verify(clientManager).notifyAllClients(notification);%0A    %7D%0A%0A    @Test%0A    public void testDistributeErrorNotification()%7B%0A        String message = %22Error Notification%22;%0A        JsonRpc2Request notification = new JsonRpc2Request(%0A                %22showErrorNotification%22, message);%0A        notificationHandler.distributeErrorNotification(%22Error Notification%22);%0A%0A        verify(clientManager).notifyAllClients(notification);%0A    %7D%0A%7D%0A

add unit tests for notification handler