コード例 #1
0
 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);
 }
コード例 #2
0
 public void GetTaskTest_InputTestMode1_OutputNullable()
 {
     Service x = new Service();
     GetTaskRequest req = new GetTaskRequest();
     req.TestMode = 1;
     TaskResponse resp = x.GetTask(req);
     Assert.IsNull(resp);
 }