From f36561287962b859fd4aec79c9db26adb84d0d0c Mon Sep 17 00:00:00 2001 From: Stavros Barousis Date: Tue, 24 Oct 2023 18:43:45 +0300 Subject: [PATCH] Fixed tests that did not follow AAA test layout. Added empty lines at the end of the files --- .../CASLTests/Exceptions/StringNullOrEmptyExceptionTests.cs | 6 ++++-- .../CASLTests/Exceptions/UnknownPlatformExceptionTests.cs | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/Testing/CASLTests/Exceptions/StringNullOrEmptyExceptionTests.cs b/Testing/CASLTests/Exceptions/StringNullOrEmptyExceptionTests.cs index 6b2c6d69..2817d65e 100644 --- a/Testing/CASLTests/Exceptions/StringNullOrEmptyExceptionTests.cs +++ b/Testing/CASLTests/Exceptions/StringNullOrEmptyExceptionTests.cs @@ -29,8 +29,10 @@ public void Ctor_WhenInvokedWithNoParam_CorrectlySetsMessage() [Fact] public void Ctor_WhenInvokedWithSingleMessageParam_CorrectlySetsMesage() { - // Act + // Arrange var exceptionMessage = "test-message"; + + // Act var exception = new StringNullOrEmptyException(exceptionMessage); // Assert @@ -53,4 +55,4 @@ public void Ctor_WhenInvokedWithMessageAndInnerException_ThrowsException() deviceException.Message.Should().Be(exceptionMessage); } #endregion -} \ No newline at end of file +} diff --git a/Testing/CASLTests/Exceptions/UnknownPlatformExceptionTests.cs b/Testing/CASLTests/Exceptions/UnknownPlatformExceptionTests.cs index 0c94ccbe..5468ab51 100644 --- a/Testing/CASLTests/Exceptions/UnknownPlatformExceptionTests.cs +++ b/Testing/CASLTests/Exceptions/UnknownPlatformExceptionTests.cs @@ -29,8 +29,10 @@ public void Ctor_WhenInvokedWithNoParam_CorrectlySetsMessage() [Fact] public void Ctor_WhenInvokedWithSingleMessageParam_CorrectlySetsMesage() { - // Act + // Arrange var exceptionMessage = "test-message"; + + // Act var exception = new UnknownPlatformException(exceptionMessage); // Assert @@ -53,4 +55,4 @@ public void Ctor_WhenInvokedWithMessageAndInnerException_ThrowsException() deviceException.Message.Should().Be(exceptionMessage); } #endregion -} \ No newline at end of file +}