@Test
public void testNotify(@Capturing INotificationService notificationService) {

    new Expectations() {
        {
            notificationService.notify(anyString, (Map<String, MessageAttributeValue>) any);
            maxTimes = 1;
        }
    };
    BackupVerificationResult backupVerificationResult = getBackupVerificationResult();
    backupNotificationMgr.notify(backupVerificationResult);
    new Verifications() {
        {
            notificationService.notify(anyString, (Map<String, MessageAttributeValue>) any);
            maxTimes = 1;
        }
    };
}