public void TestBaseTypeNonSerializableParam() { TestSerializableClassCImpl arg = new TestSerializableClassCImpl(); arg.Msg = "test"; TestSerializableClassC result = m_testService.TestEchoSerializableC(arg); Assertion.AssertEquals(arg.Msg, result.Msg); // check method implementation called Assertion.AssertEquals(result.Msg, result.Format()); }
public TestSerializableClassC TestEchoSerializableC(TestSerializableClassC arg) { return arg; }
public TestSerializableClassC TestEchoSerializableC(TestSerializableClassC arg) { return(arg); }
public void TestBaseTypeNonSerializableParam() { TestSerializableClassC arg = new TestSerializableClassC(); arg.Msg = "test"; TestSerializableClassC result = m_testService.TestEchoSerializableC(arg); Assert.AreEqual(arg.Msg, result.Msg); }
public void TestNonSerilizableFormalParam() { TestNonSerializableBaseClass arg = new TestSerializableClassC(); TestNonSerializableBaseClass result = m_testService.TestAbstractValueTypeEcho(arg); Assert.AreEqual(typeof(TestSerializableClassC), result.GetType()); }