public async Task MapObservableCollection_Empty_Mapped()
        {
            AsyncMapper mapper = new AsyncMapper();

            ObservableCollection <MapTo> to = await mapper.MapObservableCollection(new MapFrom[0]);

            Assert.IsType <ObservableCollection <MapTo> >(to);
            Assert.Empty(to);
        }
        public async Task MapObservableCollection_ToNewObject_Mapped()
        {
            AsyncMapper mapper = new AsyncMapper();

            ObservableCollection <MapTo> to = await mapper.MapObservableCollection(
                new MapFrom[]
            {
                new MapFrom()
                {
                    Property = 1
                },
                new MapFrom()
                {
                    Property = 2
                }
            });

            Assert.IsType <ObservableCollection <MapTo> >(to);
            Assert.Equal(2, to.Count);
            Assert.Equal(1, to[0].Property);
            Assert.Equal(2, to[1].Property);
        }