public void GetTaskTest_InputTestMode2_OutputTaskRecord() { Service x = new Service(); GetTaskRequest req = new GetTaskRequest(); req.TestMode = 2; TaskResponse resp = x.GetTask(req); Assert.IsInstanceOf(typeof(Guid), resp.Lock); }
public void GetTaskTest_InputTestMode1_OutputNullable() { Service x = new Service(); GetTaskRequest req = new GetTaskRequest(); req.TestMode = 1; TaskResponse resp = x.GetTask(req); Assert.IsNull(resp); }