System.Data.Tests.DataViewManagerTest.SetIncorrectRootElement C# (CSharp) Method

SetIncorrectRootElement() private method

private SetIncorrectRootElement ( ) : void
return void
        public void SetIncorrectRootElement()
        {
            DataViewManager m = new DataViewManager(null);
            Assert.Throws<DataException>(() => m.DataViewSettingCollectionString = "<foo/>");
        }
    }