void () { GitPushResultNotification notification = notification(new HashMap<>() {{ put(repo("ultimate"), repoResult(SUCCESS, "master", "origin/master", 1)); put(repo("community"), repoResult(ERROR, "master", "origin/master", "Permission denied")); }}); assertPushNotification(NotificationType.ERROR, "Push partially failed", "ultimate: Pushed 1 commit to origin/master<br/>" + "community: Permission denied", notification); }