public void Nodes_PostFolder() { // ARRANGE IRequestBuilder builder = new DracoonRequestBuilder(FactoryClients.OAuthMock); RestRequest expected = FactoryRestSharp.RestRequestWithAuth(ApiConfig.ApiPostFolder, Method.POST); expected.AddParameter("application/json", JsonConvert.SerializeObject(FactoryFolder.ApiCreateFolderRequest), ParameterType.RequestBody); // ACT IRestRequest actual = builder.PostFolder(FactoryFolder.ApiCreateFolderRequest); // ASSERT Assert.Equal(expected, actual, new RestRequestComparer()); }