Sha256: 9c0c7839411caac39c9c76b1aafedb0a8fc0b100dd4a357812df2972717e098f

Contents?: true

Size: 600 Bytes

Versions: 1

Compression:

Stored size: 600 Bytes

Contents

using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
using Files.com;

namespace FilesTests
{
    [TestClass]
    public class FilesApiTest
    {
        [TestMethod]
        public void ParsePathParameters()
        {
            var path = "/users/{id}.json";
            var parameters = new Dictionary<string, object>()
            {
                { "id", 1234 },
            };

            var resultPath = FilesApi.ParsePathParameters(path, parameters);

            Assert.AreEqual("/users/1234.json", resultPath);
        }
    }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
files.com-1.0.55 dotnet/sdk/FilesTests/FilesApiTest.cs