コード例 #1
0
        public void CreateDockWindow_Creates_DockWindow()
        {
            var factory = new TestFactory();
            var actual  = factory.CreateDockWindow();

            Assert.NotNull(actual);
            Assert.IsType <DockWindow>(actual);
        }
コード例 #2
0
        public void CloneDockWindow_Clone_Returns_DockWindow()
        {
            var factory = new TestFactory();
            var source  = factory.CreateDockWindow();

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

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