Esempio n. 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);
        }
Esempio n. 2
0
 public void TestPassingForFormalParamObjectComplexTypes() {
     System.String arg1 = "test";
     System.String result1 = (System.String) m_testService.EchoAnything(arg1);
     Assert.AreEqual(arg1, result1);
     
     TestSerializableClassB1 arg2 = new TestSerializableClassB1();
     arg2.Msg = "msg";
     TestSerializableClassB1 result2 = (TestSerializableClassB1) m_testService.EchoAnything(arg2);
     Assert.AreEqual(arg2.Msg, result2.Msg);
 }