@Test public void testCreateMediaTypeDelegate() { final HeaderDelegate<MediaType> d = RuntimeDelegate.getInstance().createHeaderDelegate(MediaType.class); assertNotNull(d); assertTrue(d instanceof MinijaxMediaTypeDelegate); }
@Test public void testCreateCookieDelegate() { final HeaderDelegate<Cookie> d = RuntimeDelegate.getInstance().createHeaderDelegate(Cookie.class); assertNotNull(d); assertTrue(d instanceof MinijaxCookieDelegate); }
@Test public void testCreateNewCookieDelegate() { final HeaderDelegate<NewCookie> d = RuntimeDelegate.getInstance().createHeaderDelegate(NewCookie.class); assertNotNull(d); assertTrue(d instanceof MinijaxNewCookieDelegate); }