File sha256File = new File(resourceDataDirectory, "application.sha256");
Assert.assertFalse(sha256File.exists(), "SHA256 properties files was wrongly created for zipped deployment.");
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);
}