{
bind(ApplicationScoped.class, ProtocolMetaData.class,
new ProtocolMetaData().addContext(new HTTPContext("TEST", 8080)
.add(new Servlet(URLServletContextClass.class.getSimpleName(), "/test"))));
TestEnricher enricher = new ArquillianResourceTestEnricher();
injector.get().inject(enricher);
URLServletContextClass test = new URLServletContextClass();
enricher.enrich(test);
Assert.assertEquals("http://TEST:8080/test/", test.url.toExternalForm());
}