public void InPartialTrust_WhenMethodShouldSucceed_PartialTrustHelper_ReportsSuccess()
        {
            LogHelper.TraceIfEnabled <PartialTrustHelperFixture>("In WhenTestShouldSucceed_InPartialTrust_PartialTrustHelper_ReportsSuccess");
            PartialTrustHelper <FakeFixture> .RunInPartial(ExpressionHelper.GetMethodInfo <FakeFixture>(x => x.PartialTrustShouldSucceed()));

            Assert.Pass();
        }
        public void InPartialTrust_WhenMethodShouldNotSucceed_PartialTrustHelper_ReportsFailure()
        {
            LogHelper.TraceIfEnabled <PartialTrustHelperFixture>("In WhenTestShouldNotSucceed_InPartialTrust_PartialTrustHelper_ReportsFailure");
            try
            {
                PartialTrustHelper <FakeFixture> .RunInPartial(ExpressionHelper.GetMethodInfo <FakeFixture>(x => x.PartialTrustShouldFail()));
            }
            catch (PartialTrustTestException ex)
            {
                Assert.Pass("PartialTrustTestException raised, message: " + ex.Message);
                return;
            }
            catch (Exception ex)
            {
                Assert.Fail("Exception was raised but it was not PartialTrustTestException, was: " + ex.Message);
            }

            Assert.Fail("No exception was raised");
        }