int msgCount = 5;
String msg = "Test message";
String details = "Test details";
Severity severity = Severity.Error;
NotificationEvent mockEvent = mock(NotificationEvent.class);
InlineLink mockInlineLink = mock(InlineLink.class);
when(mockDisplay.getMessageCount()).thenReturn(msgCount);
when(mockEvent.getSeverity()).thenReturn(severity);
when(mockEvent.getMessage()).thenReturn(msg);
when(mockEvent.getDetails()).thenReturn(details);
when(mockEvent.getInlineLink()).thenReturn(mockInlineLink);
notificationPresenter.setNotificationListener(mockListener);
notificationPresenter.onNotification(mockEvent);
verify(mockDisplay).appendMessage(mockEvent);