public void LibraryMethod_PositiveData_ReturnCorrectString(bool val)
        {
            // Act
            var result = SampleClass.LibraryMethod(val);

            // Assert
            Assert.Equal("Successfully", result);
        }
        public void LibraryMethod_NegativeData_ThrowException(bool val)
        {
            // Act
            var ex = Assert.Throws <Exception>(() => SampleClass.LibraryMethod(val));

            // Assert
            Assert.Equal("Something happened", ex.Message);
            Assert.Equal("USER_DB is not path pattern user_adminXXXX (Parameter 'con')",
                         ex.InnerException?.Message);
        }