Esempio n. 1
0
        public void Unresolable_Framework_Bug_With_Generic_Method_On_Generic_Interface_With_Conditions_On_Both_Generics()
        {
            MockRepository mocks = new MockRepository();

            TestInterface <List <string> > mockedInterface =
                mocks.StrictMock <TestInterface <List <string> > >();
        }
Esempio n. 2
0
        public void Unresolable_Framework_Bug_With_Generic_Method_On_Generic_Interface_With_Conditions_On_Both_Generics()
        {
            TestInterface <List <string> > mockedInterface = MockRepository.Mock <TestInterface <List <string> > >();

            mockedInterface.SetUnexpectedBehavior(UnexpectedCallBehaviors.BaseOrDefault);
        }