diff --git a/tests/FMS.Infrastructure.Tests/AllowedActionTakenRepositoryTest.cs b/tests/FMS.Infrastructure.Tests/AllowedActionTakenRepositoryTest.cs index ed6a5044..339378e4 100644 --- a/tests/FMS.Infrastructure.Tests/AllowedActionTakenRepositoryTest.cs +++ b/tests/FMS.Infrastructure.Tests/AllowedActionTakenRepositoryTest.cs @@ -112,7 +112,7 @@ public async Task GetAllowedActionTakenByAATIdAsync_ReturnsNull_WhenIdDoesNotExi // GetAllowedActionTakenListAsync [Test] - public async Task GetAllowedActionTakenListAsync_ReturnsAllContactType_WhenEventTypeIdIsValid() + public async Task GetAllowedActionTakenListAsync_ReturnsAllAllowedActionTypes_WhenEventTypeIdIsValid() { var existingEventType = new EventType { Name = "VALID_ET", Id = Guid.NewGuid()}; diff --git a/tests/FMS.Infrastructure.Tests/BudgetCodeRepositoryTests.cs b/tests/FMS.Infrastructure.Tests/BudgetCodeRepositoryTests.cs index aef91840..b28b208e 100644 --- a/tests/FMS.Infrastructure.Tests/BudgetCodeRepositoryTests.cs +++ b/tests/FMS.Infrastructure.Tests/BudgetCodeRepositoryTests.cs @@ -35,8 +35,8 @@ public void SetUp() _context.BudgetCodes.Add(new BudgetCode { Id = Guid.NewGuid(), - Code = "TEST", - Name = "Test Budget Code", + Code = "VALID_CODE", + Name = "VALID_NAME", Active = true }); _context.SaveChanges(); @@ -59,7 +59,7 @@ public void Dispose() } } - // Test for GetBudgetCodeAsync method + // GetBudgetCodeAsync [Test] public async Task GetBudgetCodeAsync_ReturnsCorrectBudgetCode_WhenIdIsValid() { @@ -67,7 +67,7 @@ public async Task GetBudgetCodeAsync_ReturnsCorrectBudgetCode_WhenIdIsValid() { Id = Guid.NewGuid(), Code = "VALID_CODE", - Name = "Valid Name", + Name = "VALID_NAME", Active = true }; _context.BudgetCodes.Add(budgetCode); @@ -77,7 +77,7 @@ public async Task GetBudgetCodeAsync_ReturnsCorrectBudgetCode_WhenIdIsValid() result.Should().NotBeNull(); result.Code.Should().Be("VALID_CODE"); - result.Name.Should().Be("Valid Name"); + result.Name.Should().Be("VALID_NAME"); } [Test] @@ -87,7 +87,7 @@ public async Task GetBudgetCodeAsync_ReturnsNull_WhenIdIsInvalid() result.Should().BeNull(); } - // Test for GetBudgetCodeListAsync method + // GetBudgetCodeListAsync [Test] public async Task GetBudgetCodeListAsync_ReturnsAllBudgetCodes() { @@ -106,14 +106,14 @@ public async Task GetBudgetCodeListAsync_ReturnsAllBudgetCodes() result.Count.Should().Be(3); // Including the initial seed data } - // Test for CreateBudgetCodeAsync method + // CreateBudgetCodeAsync [Test] public async Task CreateBudgetCodeAsync_Succeeds_WhenDataIsValid() { var budgetCodeCreateDto = new BudgetCodeCreateDto { Code = "NEW_CODE", - Name = "New Budget Code", + Name = "NEW_NAME", OrganizationNumber = "ORG123", ProjectNumber = "PROJ456" }; @@ -123,7 +123,7 @@ public async Task CreateBudgetCodeAsync_Succeeds_WhenDataIsValid() createdBudgetCode.Should().NotBeNull(); createdBudgetCode.Code.Should().Be("NEW_CODE"); - createdBudgetCode.Name.Should().Be("New Budget Code"); + createdBudgetCode.Name.Should().Be("NEW_NAME"); } [Test] @@ -131,14 +131,14 @@ public void CreateBudgetCodeAsync_ThrowsException_WhenCodeAlreadyExists() { var budgetCodeCreateDto = new BudgetCodeCreateDto { - Code = "TEST", - Name = "Duplicate Code", + Code = "VALID_CODE", // Name already exists from seed data + Name = "NEW_NAME", OrganizationNumber = "ORG789", ProjectNumber = "PROJ101" }; Func action = async () => await _repository.CreateBudgetCodeAsync(budgetCodeCreateDto); - action.Should().ThrowAsync().WithMessage("Budget Code TEST already exists."); + action.Should().ThrowAsync(); } [Test] @@ -146,17 +146,17 @@ public void CreateBudgetCodeAsync_ThrowsException_WhenNameAlreadyExists() { var budgetCodeCreateDto = new BudgetCodeCreateDto { - Code = "UNIQUE_CODE", - Name = "Test Budget Code", // Name already exists from seed data + Code = "NEW_CODE", + Name = "VALID_NAME", // Name already exists from seed data OrganizationNumber = "ORG789", ProjectNumber = "PROJ101" }; Func action = async () => await _repository.CreateBudgetCodeAsync(budgetCodeCreateDto); - action.Should().ThrowAsync().WithMessage("Budget Code Name Test Budget Code already exists."); + action.Should().ThrowAsync(); } - // Test for UpdateBudgetCodeAsync method + // UpdateBudgetCodeAsync [Test] public async Task UpdateBudgetCodeAsync_Succeeds_WhenDataIsValid() { @@ -164,14 +164,14 @@ public async Task UpdateBudgetCodeAsync_Succeeds_WhenDataIsValid() var budgetCodeEditDto = new BudgetCodeEditDto(existingBudgetCode) { Code = "UPDATED_CODE", - Name = "Updated Name" + Name = "UPDATED_NAME" }; await _repository.UpdateBudgetCodeAsync(existingBudgetCode.Id, budgetCodeEditDto); var updatedBudgetCode = await _context.BudgetCodes.FindAsync(existingBudgetCode.Id); updatedBudgetCode.Code.Should().Be("UPDATED_CODE"); - updatedBudgetCode.Name.Should().Be("Updated Name"); + updatedBudgetCode.Name.Should().Be("UPDATED_NAME"); } [Test] @@ -179,15 +179,15 @@ public void UpdateBudgetCodeAsync_ThrowsException_WhenIdDoesNotExist() { var budgetCodeEditDto = new BudgetCodeEditDto { - Code = "NON_EXISTENT", - Name = "Non-existent" + Code = "INVALID_CODE", + Name = "VALID_NAME" }; Func action = async () => await _repository.UpdateBudgetCodeAsync(Guid.NewGuid(), budgetCodeEditDto); - action.Should().ThrowAsync().WithMessage("Budget Code ID not found."); + action.Should().ThrowAsync(); } - // Test for UpdateBudgetCodeStatusAsync method + // UpdateBudgetCodeStatusAsync [Test] public async Task UpdateBudgetCodeStatusAsync_UpdatesStatusCorrectly() { @@ -196,7 +196,7 @@ public async Task UpdateBudgetCodeStatusAsync_UpdatesStatusCorrectly() { Id = Guid.NewGuid(), Code = "UPDATE_TEST", - Name = "Update Test Budget Code", + Name = "UPDATE_NAME", Active = true }; _context.BudgetCodes.Add(budgetCode); @@ -230,7 +230,7 @@ public async Task UpdateBudgetCodeAsync_ThrowsArgumentNullException_WhenBudgetCo Func act = async () => await _repository.UpdateBudgetCodeAsync(validId, null); // Assert - await act.Should().ThrowAsync().WithMessage("*budgetCodeUpdates*"); + await act.Should().ThrowAsync(); } [Test] public async Task CreateBudgetCodeAsync_ThrowsArgumentException_WhenCodeOrNameAlreadyExists() @@ -240,7 +240,7 @@ public async Task CreateBudgetCodeAsync_ThrowsArgumentException_WhenCodeOrNameAl { Id = Guid.NewGuid(), Code = "DUPLICATE_CODE", - Name = "Duplicate Budget Code", + Name = "DUPLICATE_NAME", Active = true }; _context.BudgetCodes.Add(existingBudgetCode); @@ -250,15 +250,14 @@ public async Task CreateBudgetCodeAsync_ThrowsArgumentException_WhenCodeOrNameAl var newBudgetCode = new BudgetCodeCreateDto { Code = "DUPLICATE_CODE", // Same code as the existing one - Name = "Duplicate Budget Code" // Same name as the existing one + Name = "DUPLICATE_NAME" // Same name as the existing one }; // Act Func act = async () => await _repository.CreateBudgetCodeAsync(newBudgetCode); // Assert - await act.Should().ThrowAsync() - .WithMessage("Budget Code DUPLICATE_CODE already exists."); + await act.Should().ThrowAsync(); } } } diff --git a/tests/FMS.Infrastructure.Tests/ContactRepositoryTests.cs b/tests/FMS.Infrastructure.Tests/ContactRepositoryTests.cs index a1e17f8e..0f3d3203 100644 --- a/tests/FMS.Infrastructure.Tests/ContactRepositoryTests.cs +++ b/tests/FMS.Infrastructure.Tests/ContactRepositoryTests.cs @@ -228,8 +228,7 @@ public async Task UpdateContactsAsync_ThrowsInvalidOperationException_WhenIdDoes var action = async () => await _repository.UpdateContactAsync(invalidId, updateDto); - await action.Should().ThrowAsync() - .WithMessage("Contact with ID " + invalidId + " does not exist."); + await action.Should().ThrowAsync(); } // UpdateContactActiveAsync @@ -251,8 +250,7 @@ public async Task UpdateContactActiveAsync_ThrowsInvalidOperationException_WhenI { var invalidId = Guid.NewGuid(); var action = async () => await _repository.UpdateContactActiveAsync(invalidId, false); - await action.Should().ThrowAsync() - .WithMessage("Contact with ID " + invalidId + " does not exist."); + await action.Should().ThrowAsync(); } } } diff --git a/tests/FMS.Infrastructure.Tests/ContactTypeRepositoryTests.cs b/tests/FMS.Infrastructure.Tests/ContactTypeRepositoryTests.cs index 47f523ba..555b3222 100644 --- a/tests/FMS.Infrastructure.Tests/ContactTypeRepositoryTests.cs +++ b/tests/FMS.Infrastructure.Tests/ContactTypeRepositoryTests.cs @@ -34,7 +34,7 @@ public void SetUp() _context.ContactTypes.Add(new ContactType { Id = Guid.NewGuid(), - Name = "Contact Type", + Name = "VALID_NAME", Active = true }); _context.SaveChanges(); @@ -58,14 +58,14 @@ public void Dispose() //ContactTypeExistAsync [Test] - public async Task ContactTypeExistAsync_ReturnTrue_ContactTypeExist() + public async Task ContactTypeExistAsync_ReturnTrue_WhenContactTypeExist() { var existingCT = await _context.ContactTypes.Select(ft => ft.Id).FirstAsync(); var results = await _repository.ContactTypeExistsAsync(existingCT); results.Should().BeTrue(); } [Test] - public async Task ContactTypeExistAsync_ReturnFalse_ContactTypeDoesNotExist() + public async Task ContactTypeExistAsync_ReturnFalse_WhenContactTypeDoesNotExist() { var nonExistingCT = Guid.NewGuid(); var results = await _repository.ContactTypeExistsAsync(nonExistingCT); @@ -85,7 +85,7 @@ public async Task GetContactTypeByIdAsync_WhenIdExist() result.Name.Should().Be(existingCT.Name); } [Test] - public async Task GetContactTypeByIdAsync_WhenIdDoesNotExist_ReturnsNull() + public async Task GetContactTypeByIdAsync_ReturnsNull_WhenIdDoesNotExist() { var nonExistingId = Guid.NewGuid(); var result = await _repository.GetContactTypeByIdAsync(nonExistingId); @@ -105,13 +105,13 @@ public async Task GetContactTypeListAsync_ReturnsAllContactTypes() [Test] public async Task CreateContactTypeAsync_CreateNewContactType_WhenDataIsValid() { - var dto = new ContactTypeCreateDto { Name = "UniqueName" }; + var dto = new ContactTypeCreateDto { Name = "NEW_NAME" }; var newId = await _repository.CreateContactTypeAsync(dto); var createdContactType = await _context.ContactTypes.FindAsync(newId); createdContactType.Should().NotBeNull(); - createdContactType.Name.Should().Be("UniqueName"); + createdContactType.Name.Should().Be("NEW_NAME"); } /*[Test] public async Task CreateContactTypeAsync_ThrowsArgumentException_WhereNameAlreadyExist() @@ -130,15 +130,15 @@ public async Task CreateContactTypeAsync_ThrowsArgumentException_WhereNameAlread [Test] public async Task UpdateContactTypeAsync_UpdatesExistingContactType_WhenDataIsValid() { - var existingContactType = new ContactType { Id = Guid.NewGuid(), Name = "OriginalName" }; + var existingContactType = new ContactType { Id = Guid.NewGuid(), Name = "VALID_NAME" }; _context.ContactTypes.Add(existingContactType); await _context.SaveChangesAsync(); - var updateDto = new ContactTypeEditDto { Name = "UpdatedName" }; + var updateDto = new ContactTypeEditDto { Name = "UPDATED_NAME" }; await _repository.UpdateContactTypeAsync(existingContactType.Id, updateDto); var updatedContactType = await _context.ContactTypes.FindAsync(existingContactType.Id); - updatedContactType.Name.Should().Be("UpdatedName"); + updatedContactType.Name.Should().Be("UPDATED_NAME"); } [Test] public async Task UpdateContactTypeAsync_ThrowsArgumentException_WhenIdDoesNotExist() @@ -147,14 +147,14 @@ public async Task UpdateContactTypeAsync_ThrowsArgumentException_WhenIdDoesNotEx var updateDto = new ContactTypeEditDto { Name = "NON_EXISTENT" }; Func action = async () => await _repository.UpdateContactTypeAsync(invalidId, updateDto); - await action.Should().ThrowAsync().WithMessage("Contact Type ID not found. (Parameter 'id')"); + await action.Should().ThrowAsync(); } //UpdateContactTypeStatusAsync [Test] public async Task UpdateContactTypeStatusAsync_UpdatesStatusCorrectly() { - var contactType = new ContactType { Id = Guid.NewGuid(), Name = "StatusTest", Active = true }; + var contactType = new ContactType { Id = Guid.NewGuid(), Name = "VALID_NAME", Active = true }; _context.ContactTypes.Add(contactType); await _context.SaveChangesAsync(); @@ -168,7 +168,7 @@ public async Task UpdateContactTypeStatusAsync_UpdatesStatusCorrectly() public async Task UpdateContactTypeStatusAsync_ThrowsArgumentException_WhenIdDoesNotExist() { Func action = async () => await _repository.UpdateContactTypeStatusAsync(Guid.NewGuid(), false); - await action.Should().ThrowAsync().WithMessage("Contact Type ID not found"); + await action.Should().ThrowAsync(); } } } diff --git a/tests/FMS.Infrastructure.Tests/EventTypeRepositoryTest.cs b/tests/FMS.Infrastructure.Tests/EventTypeRepositoryTest.cs index 5d7dacec..9046c0cb 100644 --- a/tests/FMS.Infrastructure.Tests/EventTypeRepositoryTest.cs +++ b/tests/FMS.Infrastructure.Tests/EventTypeRepositoryTest.cs @@ -65,7 +65,7 @@ public void Dispose() // EventTypeExistAsync [Test] - public async Task EventTypeExistAsync_ReturnsTrue_EventTypeExist() + public async Task EventTypeExistAsync_ReturnsTrue_WhenEventTypeExist() { var existingET = await _context.EventTypes.Select(ft => ft.Id).FirstAsync(); var results = await _repository.EventTypeExistsAsync(existingET); @@ -73,7 +73,7 @@ public async Task EventTypeExistAsync_ReturnsTrue_EventTypeExist() } [Test] - public async Task EventTypeExistAsync_ReturnsFalse_EventTypeDoesNotExist() + public async Task EventTypeExistAsync_ReturnsFalse_WhenEventTypeDoesNotExist() { var nonExistingET = Guid.NewGuid(); var results = await _repository.EventTypeExistsAsync(nonExistingET); @@ -103,11 +103,7 @@ public async Task EventTypeNameExistAsync_ReturnsFalse_EventTypeNameDoesNotExist results.Should().BeFalse(); } - // GetEventTypeByIdAsync - - - // GetEventTypeNameAsync [Test] public async Task GetEventTypeByIdAsync_ReturnsEventTypeEditEto_WhenIdExist() { @@ -128,25 +124,6 @@ public async Task GetEventTypeByIdAsync_ReturnsNull_WhenIdDoesNotExist() results.Should().BeNull(); } - // GetEventTypeNameAsync - [Test] - public async Task GetEventTypeNameAsyncReturnsEventTypeNameWhenIdExist() - { - var existingET = await _context.EventTypes.FirstAsync(); - - var results = await _repository.GetEventTypeNameAsync(existingET.Id); - - results.Should().Be(existingET.Name); - } - [Test] - public async Task GetEventTypeNameAsyncReturnsNullWhenIdDoesNotExist() - { - var nonExistingId = Guid.NewGuid(); - var results = await _repository.GetEventTypeNameAsync(nonExistingId); - - results.Should().BeNull(); - } - // GetEventTypeNameAsync [Test] public async Task GetEventTypeNameAsync_ReturnsEventTypeName_WhenIdExist() @@ -177,9 +154,6 @@ public async Task GetEventTypeListAsync_ReturnsAllEventTypes() results.Should().NotBeNullOrEmpty(); } - - - // CreateEventTypeAsync [Test] public async Task CreateEventTypeAsync_CreatesEventType_WhenDataIsValid() diff --git a/tests/FMS.Infrastructure.Tests/FacilityTypeRepositoryTests.cs b/tests/FMS.Infrastructure.Tests/FacilityTypeRepositoryTests.cs index 7cded4ad..e047e7f0 100644 --- a/tests/FMS.Infrastructure.Tests/FacilityTypeRepositoryTests.cs +++ b/tests/FMS.Infrastructure.Tests/FacilityTypeRepositoryTests.cs @@ -58,7 +58,7 @@ public void Dispose() } } - // Test for FacilityTypeExistsAsync + // FacilityTypeExistsAsync [Test] public async Task FacilityTypeExistsAsync_ReturnsTrue_WhenFacilityTypeExists() { @@ -75,7 +75,7 @@ public async Task FacilityTypeExistsAsync_ReturnsFalse_WhenFacilityTypeDoesNotEx result.Should().BeFalse(); } - // Test for FacilityTypeNameExistsAsync + // FacilityTypeNameExistsAsync [Test] public async Task FacilityTypeNameExistsAsync_ReturnsTrue_WhenNameExists() { @@ -98,7 +98,7 @@ public async Task FacilityTypeNameExistsAsync_IgnoresGivenId_WhenChecking() result.Should().BeFalse(); } - // Test for FacilityTypeDescriptionExistsAsync + // FacilityTypeDescriptionExistsAsync [Test] public async Task FacilityTypeDescriptionExistsAsync_ReturnsTrue_WhenDescriptionExists() { @@ -121,7 +121,7 @@ public async Task FacilityTypeDescriptionExistsAsync_IgnoresGivenId_WhenChecking result.Should().BeFalse(); } - // Test for GetFacilityTypeAsync + // GetFacilityTypeAsync [Test] public async Task GetFacilityTypeAsync_ReturnsCorrectFacilityType_WhenIdIsValid() { @@ -140,7 +140,7 @@ public async Task GetFacilityTypeAsync_ReturnsNull_WhenIdIsInvalid() result.Should().BeNull(); } - // Test for GetFacilityTypeNameAsync + // GetFacilityTypeNameAsync [Test] public async Task GetFacilityTypeNameAsync_ReturnsName_WhenIdIsValid() { @@ -156,7 +156,7 @@ public async Task GetFacilityTypeNameAsync_ReturnsNull_WhenIdIsInvalid() result.Should().BeNull(); } - // Test for GetFacilityTypeListAsync + // GetFacilityTypeListAsync [Test] public async Task GetFacilityTypeListAsync_ReturnsAllFacilityTypes() { @@ -164,7 +164,7 @@ public async Task GetFacilityTypeListAsync_ReturnsAllFacilityTypes() result.Should().NotBeNullOrEmpty(); } - // Tests for CreateFacilityTypeAsync + // CreateFacilityTypeAsync [Test] public async Task CreateFacilityTypeAsync_CreatesNewFacilityType_WhenDataIsValid() { @@ -204,7 +204,7 @@ public void CreateFacilityTypeAsync_ThrowsArgumentException_WhenDescriptionAlrea action.Should().ThrowAsync().WithMessage("Facility Type description 'Duplicate Description' already exists."); } - // Tests for UpdateFacilityTypeAsync + // UpdateFacilityTypeAsync [Test] public async Task UpdateFacilityTypeAsync_UpdatesExistingFacilityType_WhenDataIsValid() { @@ -243,7 +243,7 @@ public void UpdateFacilityTypeAsync_ThrowsArgumentException_WhenNameAlreadyExist action.Should().ThrowAsync().WithMessage("Facility Type 'Name2' already exists."); } - // Tests for UpdateFacilityTypeStatusAsync + // UpdateFacilityTypeStatusAsync [Test] public async Task UpdateFacilityTypeStatusAsync_UpdatesStatusCorrectly() { diff --git a/tests/FMS.Infrastructure.Tests/ParcelTypeRepositoryTests.cs b/tests/FMS.Infrastructure.Tests/ParcelTypeRepositoryTests.cs index a7c8ee43..a4b07176 100644 --- a/tests/FMS.Infrastructure.Tests/ParcelTypeRepositoryTests.cs +++ b/tests/FMS.Infrastructure.Tests/ParcelTypeRepositoryTests.cs @@ -58,14 +58,14 @@ public void Dispose() // ParcelTypeExistAsync [Test] - public async Task ParcelTypeExistAsync_ReturnTrue_ParcelTypeExist() + public async Task ParcelTypeExistAsync_ReturnTrue_WhenParcelTypeExist() { var existingPT = await _context.ParcelTypes.Select(ft => ft.Id).FirstAsync(); var results = await _repository.ParcelTypeExistsAsync(existingPT); results.Should().BeTrue(); } [Test] - public async Task ParcelTypeExistAsync_ReturnFalse_ParcelTypeDoesNotExist() + public async Task ParcelTypeExistAsync_ReturnFalse_WhenParcelTypeDoesNotExist() { var nonExistingPT = Guid.NewGuid(); var results = await _repository.ParcelTypeExistsAsync(nonExistingPT); diff --git a/tests/FMS.Infrastructure.Tests/PhoneRepositoryTests.cs b/tests/FMS.Infrastructure.Tests/PhoneRepositoryTests.cs index 57046675..36abda1f 100644 --- a/tests/FMS.Infrastructure.Tests/PhoneRepositoryTests.cs +++ b/tests/FMS.Infrastructure.Tests/PhoneRepositoryTests.cs @@ -169,7 +169,7 @@ public void CreatePhoneAsync_ThrowArgumentException_WhereNumberAlreadyExist() var dto = new PhoneCreateDto { Number = "DUPLICATE_NUMBER" }; Func action = async () => await _repository.CreatePhoneAsync(dto); - action.Should().ThrowAsync().WithMessage("Phone Number 'DUPLICATE_NUMBER' already exist."); + action.Should().ThrowAsync(); } // UpdatePhoneAsync @@ -215,7 +215,7 @@ public async Task UpdatePhoneStatusAsync_ThrowsInvalidOperationException_WhenIdD var updateDto = new PhoneEditDto { Id = Guid.NewGuid(), Number = "NON_EXISTENT", Active = true }; Func action = async () => await _repository.UpdatePhoneStatusAsync(updateDto.Id, false); - await action.Should().ThrowAsync().WithMessage("Phone with ID " + updateDto.Id + " does not exist."); + await action.Should().ThrowAsync(); } } } diff --git a/tests/FMS.Infrastructure.Tests/ScoreRepositoryTest.cs b/tests/FMS.Infrastructure.Tests/ScoreRepositoryTest.cs index 7fdbdac4..f06125ba 100644 --- a/tests/FMS.Infrastructure.Tests/ScoreRepositoryTest.cs +++ b/tests/FMS.Infrastructure.Tests/ScoreRepositoryTest.cs @@ -59,7 +59,7 @@ public void Dispose() // ScoreExistAsync [Test] - public async Task ScoreExistAsync_ReturnsTrue_ScoreExist() + public async Task ScoreExistAsync_ReturnsTrue_WhenScoreExist() { var existingScore = await _context.Scores.Select(ft => ft.Id).FirstAsync(); var results = await _repository.ScoreExistsAsync(existingScore); @@ -67,7 +67,7 @@ public async Task ScoreExistAsync_ReturnsTrue_ScoreExist() } [Test] - public async Task ScoreExistAsync_ReturnsFalse_ScoreDoesNotExist() + public async Task ScoreExistAsync_ReturnsFalse_WhenScoreDoesNotExist() { var nonExistingScore = Guid.NewGuid(); var results = await _repository.ScoreExistsAsync(nonExistingScore);