void () { GitPushNativeResult branchResult = new GitPushNativeResult(UP_TO_DATE, "refs/heads/master"); GitPushResultNotification notification = notification(convertFromNative(branchResult, Collections.emptyList(), 0, from("master"), to("origin/master"))); assertPushNotification(NotificationType.INFORMATION, "Everything is up to date", "", notification); }