public void ToSafeFilePathWithSuccess(string filePath, string safeFilePath, Exception e)
        {
            "Given a file path"
            .x(() => filePath = "this//is\\\\a\\\\t?e>st/to/s e|e*/if/:th\"e/path/i<s/conver>ted");

            "When making the filepath safe"
            .x(() => e = Record.Exception(() => safeFilePath = CustomLiquidFunctions.ToSafeFilePath(filePath)));

            "Then the conversion should succeed"
            .x(() => e.Should().BeNull());

            "And the safe file path should be converted"
            .x(() => safeFilePath.Should().Be("this/is/a/test/to/see/if/the/path/is/converted"));
        }
        public void ToNullSafeFilePathWithSuccess(string filePath, string safeFilePath, Exception e)
        {
            "Given a null file path"
            .x(() => filePath = null);

            "When making the file path safe"
            .x(() => e = Record.Exception(() => safeFilePath = CustomLiquidFunctions.ToSafeFilePath(filePath)));

            "Then the conversion should succeed"
            .x(() => e.Should().BeNull());

            "And the safe file path should be null"
            .x(() => safeFilePath.Should().BeNull());
        }