diff --git a/Directory.Packages.props b/Directory.Packages.props
index 045c171..56d31a4 100644
--- a/Directory.Packages.props
+++ b/Directory.Packages.props
@@ -42,7 +42,7 @@
-
+
@@ -60,4 +60,4 @@
-
+
\ No newline at end of file
diff --git a/InvoiceReminder.API.UnitTests/Endpoints/InvoiceEndpointsTests.cs b/InvoiceReminder.API.UnitTests/Endpoints/InvoiceEndpointsTests.cs
index e67a969..e4cd2bc 100644
--- a/InvoiceReminder.API.UnitTests/Endpoints/InvoiceEndpointsTests.cs
+++ b/InvoiceReminder.API.UnitTests/Endpoints/InvoiceEndpointsTests.cs
@@ -1,7 +1,7 @@
using InvoiceReminder.API.UnitTests.Factories;
-using InvoiceReminder.Application.Abstractions;
using InvoiceReminder.Application.Interfaces;
using InvoiceReminder.Application.ViewModels;
+using InvoiceReminder.Domain.Abstractions;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
diff --git a/InvoiceReminder.API.UnitTests/Endpoints/JobScheduleEndPointsTests.cs b/InvoiceReminder.API.UnitTests/Endpoints/JobScheduleEndPointsTests.cs
index bec30f5..fb02df3 100644
--- a/InvoiceReminder.API.UnitTests/Endpoints/JobScheduleEndPointsTests.cs
+++ b/InvoiceReminder.API.UnitTests/Endpoints/JobScheduleEndPointsTests.cs
@@ -1,7 +1,7 @@
using InvoiceReminder.API.UnitTests.Factories;
-using InvoiceReminder.Application.Abstractions;
using InvoiceReminder.Application.Interfaces;
using InvoiceReminder.Application.ViewModels;
+using InvoiceReminder.Domain.Abstractions;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
diff --git a/InvoiceReminder.API.UnitTests/Endpoints/LoginEndpointTests.cs b/InvoiceReminder.API.UnitTests/Endpoints/LoginEndpointTests.cs
index 535b451..88d2752 100644
--- a/InvoiceReminder.API.UnitTests/Endpoints/LoginEndpointTests.cs
+++ b/InvoiceReminder.API.UnitTests/Endpoints/LoginEndpointTests.cs
@@ -1,11 +1,11 @@
using InvoiceReminder.API.AuthenticationSetup;
using InvoiceReminder.API.UnitTests.Factories;
-using InvoiceReminder.Application.Abstractions;
using InvoiceReminder.Application.Interfaces;
using InvoiceReminder.Application.ViewModels;
using InvoiceReminder.Authentication.Extensions;
using InvoiceReminder.Authentication.Interfaces;
using InvoiceReminder.Authentication.Jwt;
+using InvoiceReminder.Domain.Abstractions;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.DependencyInjection;
diff --git a/InvoiceReminder.API.UnitTests/Endpoints/ScanEmailDefinitionEndpointsTests.cs b/InvoiceReminder.API.UnitTests/Endpoints/ScanEmailDefinitionEndpointsTests.cs
index 2af4ec3..15083de 100644
--- a/InvoiceReminder.API.UnitTests/Endpoints/ScanEmailDefinitionEndpointsTests.cs
+++ b/InvoiceReminder.API.UnitTests/Endpoints/ScanEmailDefinitionEndpointsTests.cs
@@ -1,7 +1,7 @@
using InvoiceReminder.API.UnitTests.Factories;
-using InvoiceReminder.Application.Abstractions;
using InvoiceReminder.Application.Interfaces;
using InvoiceReminder.Application.ViewModels;
+using InvoiceReminder.Domain.Abstractions;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.DependencyInjection;
@@ -465,8 +465,8 @@ public async Task GetScanEmailDefinitionBySenderEmailAddressAndUserId_WhenUserIs
var request = new HttpRequestMessage(HttpMethod.Get, $"/api/scan_email/{email}/{id}");
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", "test_token");
- _ = _scanEmailDefinitionAppService.GetBySenderBeneficiaryAsync(Arg.Any(), Arg.Any())
- .ThrowsAsync(new ArgumentException("Service error"));
+ _ = _scanEmailDefinitionAppService.GetBySenderEmailAddressAsync(Arg.Any(), Arg.Any())
+ .ThrowsAsync();
_ = _authorizationService.AuthorizeAsync(Arg.Any(), Arg.Any