@Test
 public void testStaticContentWithContext() throws Exception {
   Container container = newContainer();
   container.start();
   try {
     WARArchive deployment = ShrinkWrap.create(WARArchive.class);
     deployment.setContextRoot("/static");
     deployment.staticContent();
     container.deploy(deployment);
     assertBasicStaticContentWorks("static");
     assertFileChangesReflected("static");
   } finally {
     container.stop();
   }
 }
  @Override
  public List<Archive> getImplicitDeployments(TopologyWebAppFraction fraction) throws Exception {
    String context = System.getProperty(TopologyProperties.CONTEXT_PATH);
    if (context == null) context = DEFAULT_CONTEXT;

    List<Archive> list = new ArrayList<>();
    WARArchive war = ShrinkWrap.create(WARArchive.class, "topology-webapp.war");
    war.addAsWebInfResource(new StringAsset(getWebXml(fraction)), "web.xml");
    war.addClass(TopologySSEServlet.class);
    war.addModule("swarm.application");
    war.addModule("org.wildfly.swarm.topology");
    war.addAsWebResource(
        new ClassLoaderAsset("topology.js", this.getClass().getClassLoader()), "topology.js");
    war.setContextRoot(context);
    war.as(TopologyArchive.class);
    list.add(war);
    return list;
  }