public void CreateObservableCollection_Default_Always_ReturnsObservableCollectionConstructorDefault() { var uut = new CollectionFactory(); var result = uut.CreateObservableCollection <int>(); result.ShouldBeEmpty(); }
public void CreateObservableCollection_Collection_Always_ReturnsObservableCollectionConstructorCollection(params string[] items) { var uut = new CollectionFactory(); var collection = items.AsEnumerable(); var result = uut.CreateObservableCollection(collection); result.ShouldBeOrderedEquivalentTo(collection); }
public void CreateObservableCollection_List_Always_ReturnsObservableCollectionConstructorList(params string[] items) { var uut = new CollectionFactory(); var list = new List <string>(items); var result = uut.CreateObservableCollection(list); result.ShouldBeOrderedEquivalentTo(list); }