void () { GitPushNativeResult branchResult = new GitPushNativeResult(UP_TO_DATE, "refs/heads/master"); GitPushNativeResult tagResult = new GitPushNativeResult(NEW_REF, "refs/tags/v0.1"); GitPushResultNotification notification = notification(convertFromNative(branchResult, singletonList(tagResult), 0, from("master"), to("origin/master"))); assertPushNotification(NotificationType.INFORMATION, "Pushed tag v0.1 to origin", "", notification); }