MediaServletURIProducer { @PostConstruct public void setup() { mediaServletURI = new MediaServletURI("plugins/"); }  @PostConstruct void setup(); @Produces @Named("MediaServletURI") MediaServletURI produceMediaServletURI();  }
@Test public void testSetup() throws Exception { mediaServletURIProducer.setup(); assertEquals("plugins/", getMediaServletURI().getURI()); }