2 using System.Collections.Generic;
4 using Proxy.MonoTests.Features.Client;
7 namespace MonoTests.Features.Serialization
10 public class MessageContractTest : TestFixtureBase<MessageContractTesterContractClient, MonoTests.Features.Contracts.MessageContractTester, MonoTests.Features.Contracts.IMessageContractTesterContract>
13 [Ignore ("fails under .NET; I never bothered to fix the test")]
14 public void TestMessageContract ()
16 TestMessage msg = new TestMessage ();
17 msg.Date = new DateTime (2014, 1, 1);
18 msg.FormatString = "yyyy-MM-dd";
20 TestMessage r = ((IMessageContractTesterContract) Client).FormatDate (msg);
22 Assert.AreEqual ("2014-01-01", r.FormattedDate, "#1");