void () { GitPushResultNotification notification = notification(singleResult(SUCCESS, "master", "origin/master", 2, GitUpdateResult.SUCCESS)); assertPushNotification(NotificationType.INFORMATION, "Pushed 2 commits to origin/master", "", notification); }