Exemple #1
0
        public void CreateList_Creates_List()
        {
            var factory = new TestFactory();
            var actual  = factory.CreateList <IDockable>();

            Assert.NotNull(actual);
            Assert.IsType <List <IDockable> >(actual);
        }
Exemple #2
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);
    }