    @Test
    void shouldFailToMarkRecipientNotifiedIfNotificationInactive() {

        NotificationSettings backup = NotificationSettings.builder()
                .active(false)
                .frequency(Frequency.MONTHLY)
                .build();
        Recipient recipient = Recipient.builder()
                .username(USERNAME)
                .email(EMAIL)
                .notification(NotificationType.BACKUP, backup)
                .build();

        assertThatExceptionOfType(IllegalArgumentException.class)
                .isThrownBy(() -> recipient.markNotified(NotificationType.BACKUP));
    }