Пример #1
0
        public void CreateSplitterDock_Creates_SplitterDock()
        {
            var factory = new TestFactory();
            var actual  = factory.CreateSplitterDock();

            Assert.NotNull(actual);
            Assert.IsType <SplitterDock>(actual);
        }
Пример #2
0
        public void CloneSplitterDock_Clone_Returns_SplitterDock()
        {
            var factory = new TestFactory();
            var source  = factory.CreateSplitterDock();

            factory.UpdateDockable(source, null);
            var actual = source.Clone();

            Assert.NotNull(actual);
            Assert.IsType <SplitterDock>(actual);
        }