public void ValidateRun() { SelfDistributable selfDistributable = new CommandApp(); try { selfDistributable.Distribute = new Locally(); selfDistributable.Run(); ApplicationLog.WriteLine("SelfDistributable BVT: SelfDistributable Run Validated successfully"); } catch (Exception ex) { ApplicationLog.WriteLine(string.Format((IFormatProvider)null, "SelfDistributable BVT: SelfDistributable Run Validated successfully:", ex.Message)); Assert.Fail("SelfDistributable BVT: SelfDistributable Run Not validated successfully"); } }