### Question:
CreateSoapSTSDeployment extends Task { @SuppressWarnings("unchecked") @Override public String execute(Locale locale, Map mapParams) throws WorkflowException { try { validatePresenceOfMandatoryParams(mapParams); final JarInputStream soapSTSServerWar = getJarInputStream(); final Path outputJarPath = getOutputJarFilePath(getStringParam(mapParams, REALM_PARAM)); final JarOutputStream modifiedSoapSTSServerWar = getJarOutputStream(outputJarPath, soapSTSServerWar.getManifest()); processFileContents(soapSTSServerWar, modifiedSoapSTSServerWar, mapParams); return getCompletionMessage(locale, outputJarPath); } catch (WorkflowException e) { Debug.getInstance("workflow").error("Exception caught in CreateSoapSTSDeployment#execute: " + e.getMessage()); throw e; } }  @SuppressWarnings("unchecked") @Override String execute(Locale locale, Map mapParams);  }### Answer:
@Test public void testCustomJarFileGeneration() throws WorkflowException, IOException { new MyCreateSoapSTSDeployment().execute(null, getParamMap(!WITH_KEYSTORE_FILE, !WITH_CUSTOM_WSDL)); verifyGeneratedWarCorrectness(!WITH_KEYSTORE_FILE, !WITH_KEYSTORE_FILE); }
@Test public void testCustomJarFileGenerationWithKeystoreAndCustomWsdl() throws WorkflowException, IOException { new MyCreateSoapSTSDeployment().execute(null, getParamMap(WITH_KEYSTORE_FILE, WITH_CUSTOM_WSDL)); verifyGeneratedWarCorrectness(WITH_KEYSTORE_FILE, WITH_CUSTOM_WSDL); }