Ejemplo n.º 1
0
        public void BubblesExceptionsFromSyncedThread()
        {
            var toolset   = new BogusToolset();
            var converter = new ThreadSafeConverter(toolset);

            try
            {
                converter.Convert(Document(StringObject()));
                Assert.Fail();
            }
            catch (NotImplementedException) { }

            toolset.Unload(); // Needed for testing framework to succeed
        }
Ejemplo n.º 2
0
        public void BubblesExceptionsFromSyncedThread()
        {
            var toolset = new BogusToolset();
            var converter = new ThreadSafeConverter(toolset);

            try
            {
                converter.Convert(Document(StringObject()));
                Assert.Fail();
            }
            catch (NotImplementedException) { }

            toolset.Unload(); // Needed for testing framework to succeed
        }