public void Nodes_PostFileDownload() { // ARRANGE long id = 394678; IRequestBuilder builder = new DracoonRequestBuilder(FactoryClients.OAuthMock); RestRequest expected = FactoryRestSharp.RestRequestWithAuth(ApiConfig.ApiPostCreateFileDownload, Method.POST); expected.AddUrlSegment("fileId", id); // ACT IRestRequest actual = builder.PostFileDownload(id); // ASSERT Assert.Equal(expected, actual, new RestRequestComparer()); }