code: @Override
      public void process(TestDeployment testDeployment, Archive<?> protocolArchive) {
          final TestClass testClass = this.testClass.get();
          final Archive<?> applicationArchive = testDeployment.getApplicationArchive();
  
          if (WarpCommons.isWarpTest(testClass.getJavaClass())) {
              if (!Validate.isArchiveOfType(WebArchive.class, protocolArchive)) {
                  throw new IllegalArgumentException("Protocol archives of type " + protocolArchive.getClass()
                      + " not supported by Warp. Please use the Servlet 3.0 protocol.");
              }
  
              addWarpPackageToDeployment(protocolArchive.as(WebArchive.class));
  
              addWarpExtensionsDeployment(protocolArchive.as(WebArchive.class));
  
              removeTestClassFromDeployment(applicationArchive, testClass);
          }
      }
docs: Adds Warp archive to the protocol archive to make it available for WARs and EARs.