@Test
public void removeUserShouldClosePrivateChatLogger() {

    final User user = new User("User1", 124);
    userList.add(user);
    final ChatLogger chatLogger = mock(ChatLogger.class);
    user.setPrivateChatLogger(chatLogger);
    controller.removeUser(user, "Bla bla");
    verify(chatLogger).close();
}