コード例 #1
0
 /** Test of newTarget method, of class WebTargetFactory. */
 @Test
 public void testNewTarget_WithParams_ExpectTarget() {
   Map<String, String> params = new HashMap<>();
   params.put(FOO, FOO);
   WebTarget result = classUnderTest.newTarget(FOO, params);
   assertThat(result, notNullValue());
 }
コード例 #2
0
 /** Test of newTarget method, of class WebTargetFactory. */
 @Test
 public void testNewTarget_NoParams_ExpectTarget() {
   WebTarget result = classUnderTest.newTarget(FOO, null);
   assertThat(result, notNullValue());
 }