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