public void EnsureNotNull_WithNullString_ShouldReturnExceptionMessage()
        {
            // Arrange && Act && Assert
            var exception = Assert.Throws <ArgumentException>(() => CoreValidator.EnsureStringIsNotNullOrEmpty(null, "Null message"));

            Assert.Contains("Null message", exception.Message);
        }
        public void EnsureStringIsNotNullOrEmpty_WithEmptyString_ShouldThrowException()
        {
            // Arrange
            var emptyString = string.Empty;

            // Act && Assert
            Assert.Throws <ArgumentException>(() => CoreValidator.EnsureStringIsNotNullOrEmpty(emptyString));
        }
 public void EnsureStringIsNotNullOrEmpty_WithNullString_ShouldThrowException()
 {
     // Arrange && Act && Assert
     Assert.Throws <ArgumentException>(() => CoreValidator.EnsureStringIsNotNullOrEmpty(null));
 }