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