Esempio n. 1
0
        public void CreateList_Creates_ReactiveList_Empty()
        {
            var factory = new TestFactory();
            var actual  = factory.CreateList <IDockable>();

            Assert.NotNull(actual);
            Assert.IsType <ObservableCollection <IDockable> >(actual);
            Assert.Equal(0, actual.Count);
        }
Esempio n. 2
0
        public void CreateList_Creates_ReactiveList_Empty()
        {
            var factory = new TestFactory();
            var actual  = factory.CreateList <IDockable>();

            Assert.NotNull(actual);
#pragma warning disable CS0618 // Type or member is obsolete
            Assert.IsType <ReactiveList <IDockable> >(actual);
#pragma warning restore CS0618 // Type or member is obsolete
            Assert.Equal(0, actual.Count);
        }