public void MapAll_ValidInput_CallsMapper()
 {
     var mapperMock = A.Fake<IMapper<TestClassA, TestClassB>>();
     var target = new TestClassA[10];
     var output = new TestClassB[10];
     A.CallTo(() => mapperMock.MapMultiple(target)).Returns(output);
     IEnumerable<TestClassB> result = target.MapAll(mapperMock);
     Assert.AreEqual(output, result);
 }
        public void MapAll_ValidInput_CallsMapper()
        {
            var mapperMock = A.Fake <IMapper <TestClassA, TestClassB> >();
            var target     = new TestClassA[10];
            var output     = new TestClassB[10];

            A.CallTo(() => mapperMock.MapMultiple(target)).Returns(output);
            IEnumerable <TestClassB> result = target.MapAll(mapperMock);

            Assert.AreEqual(output, result);
        }