WebArchive archive = ShrinkWrap.create(WebArchive.class, TEST_NAME + ".war")
.addClass(TestRun.class)
.addClass(SimpleServlet.class)
.addClass(Car.class)
.addClass(AssemblyLine.class)
.setWebXML(new StringAsset(descriptor.exportAsString()))
.addAsWebInfResource(EmptyAsset.INSTANCE, ArchivePaths.create("beans.xml"));
return archive;