//verify the results (Assert and mock verification)
Assert.assertTrue(deploymentFile.exists(), "Deployment did not happen.");
Assert.assertFalse(deploymentFile.isDirectory(), "Deployment was exploded when it should not have been.");
MessageDigestGenerator digest = new MessageDigestGenerator(MessageDigestGenerator.SHA_256);
String expectedSHA256 = digest.calcDigestString(sampleWithoutManifestWar);
String actualSHA256OfDeployment = digest.calcDigestString(deploymentFile);
Assert.assertEquals(actualSHA256OfDeployment, expectedSHA256);
Assert.assertEquals(actualShaReturned, expectedSHA256);