code: @Override
      public ServletMethodExecutor getExecutor(ServletProtocolConfiguration protocolConfiguration,
          ProtocolMetaData metaData, CommandCallback callback) {
          Collection<HTTPContext> contexts = metaData.getContexts(HTTPContext.class);
          if (contexts.size() == 0) {
              throw new IllegalArgumentException(
                  "No " + HTTPContext.class.getName() + " found in " + ProtocolMetaData.class.getName() + ". " +
                      "Servlet protocol can not be used");
          }
          return new ServletMethodExecutor(protocolConfiguration, contexts, callback);
      }
docs: /* (non-Javadoc)
  @see org.jboss.arquillian.spi.client.protocol.Protocol#getExecutor(org.jboss.arquillian.spi.client.protocol.ProtocolConfiguration, org.jboss.arquillian.spi.client.protocol.metadata.ProtocolMetaData)