public void ShouldBeAbleToAddMultiFunction()
        {
            using (mocks.Record())
                objectBuilder.Expect(x => x.DoForAll(actionForAll, actionList)).Return(objectBuilder);

            using (mocks.Playback())
                SingleObjectBuilderExtensions.DoForAll(objectBuilder, actionForAll, actionList);
        }
Example #2
0
        public void ShouldBeAbleToAddMultiFunction()
        {
            objectBuilder.DoForAll(actionForAll, actionList).Returns(objectBuilder);

            SingleObjectBuilderExtensions.DoForAll(objectBuilder, actionForAll, actionList);
        }