Пример #1
0
        public void TestPassingForFormalParamObjectComplexTypes()
        {
            TestSerializableClassB1 arg2 = new TestSerializableClassB1Impl();

            arg2.Msg = "msg";
            TestSerializableClassB1 result2 = (TestSerializableClassB1)m_testService.EchoAnything(arg2);

            Assertion.AssertEquals(arg2.Msg, result2.Msg);
        }
Пример #2
0
 public void TestPassingForFormalParamObjectComplexTypes() {
     System.String arg1 = "test";
     System.String result1 = (System.String) m_testService.EchoAnything(arg1);
     Assertion.AssertEquals(arg1, result1);
     
     TestSerializableClassB1 arg2 = new TestSerializableClassB1Impl();
     arg2.Msg = "msg";
     TestSerializableClassB1 result2 = (TestSerializableClassB1) m_testService.EchoAnything(arg2);
     Assertion.AssertEquals(arg2.Msg, result2.Msg);
 }