public void Shares_DeleteDownloadShare() { // ARRANGE long id = 893756; IRequestBuilder builder = new DracoonRequestBuilder(FactoryClients.OAuthMock); RestRequest expected = FactoryRestSharp.RestRequestWithAuth(ApiConfig.ApiDeleteDownloadShare, Method.DELETE); expected.AddUrlSegment("shareId", id); // ACT IRestRequest actual = builder.DeleteDownloadShare(id); // ASSERT Assert.Equal(expected, actual, new RestRequestComparer()); }