a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
23 lines
644 B
C#
23 lines
644 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Runtime.Serialization;
|
|
using System.ServiceModel.Dispatcher;
|
|
using System.Xml;
|
|
using NUnit.Framework;
|
|
|
|
namespace MonoTests.System.ServiceModel.Dispatcher
|
|
{
|
|
[TestFixture]
|
|
public class InvalidBodyAccessExceptionTest
|
|
{
|
|
[Test]
|
|
public void TestConstructor ()
|
|
{
|
|
FilterInvalidBodyAccessException e = new FilterInvalidBodyAccessException ();
|
|
NavigatorInvalidBodyAccessException f = new NavigatorInvalidBodyAccessException ();
|
|
// Don't expect Engligh.
|
|
// Assert.AreEqual ("Not allowed to navigate to body.", e.Message);
|
|
Assert.AreEqual (e.Message, f.Message);
|
|
}
|
|
}
|
|
} |