コード例 #1
0
 @Test
 public void testSetResourceId() {
   String RESOURCE_ID = "xx000111";
   StopJobRequest req = new StopJobRequest();
   req.setJobId(RESOURCE_ID);
   assertEquals(req.getJobId(), RESOURCE_ID);
 }
コード例 #2
0
 @Test
 public void testConstructor() {
   String RESOURCE_ID = "xx000111";
   StopJobRequest req = new StopJobRequest(RESOURCE_ID);
   assertEquals(req.getJobId(), RESOURCE_ID);
 }