public void should_update_changes_on_server() { var args = new CompleteTaskArgs(); const int id = 1; var command = new CompleteServiceCommand(todoList) { Id = id }; comConverter.GetServiceCommand(args).Returns(command); service.UpdateChanges(args); command.ExecuteCommand(); }
public void UpdateChanges(IEditCommandArguments args) { commandConverter.GetServiceCommand(args).ExecuteCommand(); }