static void AssertPackageSizeMatchesExpected(CalamariResult result, long expectedSize) { result.AssertOutputVariable("StagedPackage.Size", Is.EqualTo(expectedSize.ToString(CultureInfo.InvariantCulture))); }
static void AssertStagePackageOutputVariableSet(CalamariResult result, string filePath) { result.AssertOutputVariable("StagedPackage.FullPathOnRemoteMachine", Is.StringStarting(filePath)); }
static void AssertPackageHashMatchesExpected(CalamariResult result, string expectedHash) { result.AssertOutputVariable("StagedPackage.Hash", Is.EqualTo(expectedHash)); }