diff --git a/Sources/mocks/UTests/MockEmailService.cs b/Sources/mocks/UTests/MockEmailService.cs index 1db5286..c3589f0 100644 --- a/Sources/mocks/UTests/MockEmailService.cs +++ b/Sources/mocks/UTests/MockEmailService.cs @@ -1,4 +1,3 @@ -using System.ComponentModel; using Model; public class MockEmailService : IEmailService diff --git a/Sources/mocks/UTests2/UnitTests.cs b/Sources/mocks/UTests2/UnitTests.cs index 5b57add..80e49d6 100644 --- a/Sources/mocks/UTests2/UnitTests.cs +++ b/Sources/mocks/UTests2/UnitTests.cs @@ -34,7 +34,7 @@ public class UnitTests //execute the method to test bool result = await mgr.AddNewNounours(nounours); - //assert the interactions went correctly + //assert the result is correct Assert.True(result); } @@ -72,7 +72,7 @@ public class UnitTests //execute the method to test bool result = await mgr.AddNewNounours(nounours); - //assert the interactions went correctly + //assert the result is correct Assert.False(result); } @@ -110,7 +110,7 @@ public class UnitTests //execute the method to test bool result = await mgr.AddNewNounours(nounours); - //assert the interactions went correctly + //assert the result is correct Assert.False(result); }