void () { GitPushNativeResult branchSuccess = new GitPushNativeResult(SUCCESS, "refs/heads/master"); GitPushNativeResult branchUpToDate = new GitPushNativeResult(UP_TO_DATE, "refs/heads/master"); GitPushNativeResult tagResult = new GitPushNativeResult(NEW_REF, "refs/tags/v0.1"); final GitPushRepoResult comRes = convertFromNative(branchSuccess, singletonList(tagResult), 1, from("master"), to("origin/master")); final GitPushRepoResult ultRes = convertFromNative(branchUpToDate, singletonList(tagResult), 0, from("master"), to("origin/master")); GitPushResultNotification notification = notification(new HashMap<>() {{ put(repo("community"), comRes); put(repo("ultimate"), ultRes); }}); assertPushNotification(NotificationType.INFORMATION, "Push successful", "community: Pushed 1 commit to origin/master, and tag v0.1 to origin<br/>" + "ultimate: Pushed tag v0.1 to origin", notification); }