public static TaskMessage TaskFinished(RemoteTask task, string message, TaskResult result) { return(new TaskMessage(task, ServerMessage.TaskFinished(message, result))); }
public void TaskFinished(string message, TaskResult result) { Do(() => Assert.Single(Messages, ServerMessage.TaskFinished(message, result))); }