/** 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()); }
/** Test of newTarget method, of class WebTargetFactory. */ @Test public void testNewTarget_NoParams_ExpectTarget() { WebTarget result = classUnderTest.newTarget(FOO, null); assertThat(result, notNullValue()); }