BridgeTests.ExceptionHandling.TestExceptionMarshalling.TestExceptionFromExceptionTestJSONMessageToDotNetIsTestExceptionType C# (CSharp) Метод

TestExceptionFromExceptionTestJSONMessageToDotNetIsTestExceptionType() приватный Метод

        public void TestExceptionFromExceptionTestJSONMessageToDotNetIsTestExceptionType()
        {
            TestException testException = new TestException();
            testException.Test1 = testString;
            String jsonMessage = marshaller.MarshallObject(testException);
            Assert.IsTrue(marshaller.UnmarshallObject<TestException>(jsonMessage) is IJavaException);
        }