Assert.assertTrue(deploymentDirectory.exists(), "Deployment did not happen.");
Assert.assertTrue(deploymentDirectory.isDirectory(), "Deployment directory is no longer a directory!!");
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);