Exemplo n.º 1
0
        public void TestBasicRemotingContext()
        {
            RemotingCallContext context = new RemotingCallContext();

            tester.CallMultiple((o, cs) =>
            {
                context.SetData("Test", o);
                cs.Switch();
                Assert.That(context.GetData("Test"), Is.EqualTo(o));
            }, 3, new Object[] { "A", "B", "C" });
            tester.AssertAll();
        }
 public void BasicTest()
 {
     sut.CallMultiple(FunctionDoNothing, 1, new Object[] { null });
     sut.AssertAll();
 }