@Test public void testCustomProvidersFeature() { JerseyConfiguration instance = new JerseyConfiguration(); instance.register(new CustomProvidersFeature(Arrays.asList(new Class<?>[] {MyProvider.class}))); assertTrue(instance.getProviderClasses().contains(MyProvider.class)); }
@Test @Ignore("not ready yet") // TODO implement test public void testGetProviderClasses() { JerseyConfiguration instance = new JerseyConfiguration(); Set expResult = null; Set result = instance.getProviderClasses(); assertEquals(expResult, result); fail("The test case is a prototype."); }