public void Nodes_PostMoveNodes() { // ARRANGE long id = 8790; IRequestBuilder builder = new DracoonRequestBuilder(FactoryClients.OAuthMock); RestRequest expected = FactoryRestSharp.RestRequestWithAuth(ApiConfig.ApiPostMoveNodes, Method.POST); expected.AddParameter("application/json", JsonConvert.SerializeObject(FactoryNode.ApiMoveNodesRequest), ParameterType.RequestBody); expected.AddUrlSegment("nodeId", id); // ACT IRestRequest actual = builder.PostMoveNodes(id, FactoryNode.ApiMoveNodesRequest); // ASSERT Assert.Equal(expected, actual, new RestRequestComparer()); }