Пример #1
0
        public void CanInjectAnArrayOfMockServices1()
        {
            AutoMocker <ClassWithArray> mocker = createAutoMocker <ClassWithArray>();

            IMockedService[] services = mocker.CreateMockArrayFor <IMockedService>(3);
            ClassWithArray   theClass = mocker.ClassUnderTest;

            theClass.Services.Length.ShouldEqual(3);
        }