    @Test
    public void testOnValueChanged() throws Exception {

        Notification notification = new Notification("test message", PROGRESS);
        manager.showNotification(notification);
        reset(view);

        manager.onValueChanged();

        verify(view).setNotificationCount(eq(1));

        reset(view);
        notification.setStatus(FINISHED);

        reset(view);
        notification.setState(READ);

        verify(view).setNotificationCount(eq(0));
    }