Example #1
0
        public void createDynamicMockOfGeneric()
        {
            MockRepository     mocks = new MockRepository();
            genericClass <int> mockA =
                mocks.DynamicMock <genericClass <int> >();

            mocks.Replay(mockA);
        }
Example #2
0
        public void createDynamicMockOfGenericAgain()
        {
            genericClass <int> mockA = MockRepository.Mock <genericClass <int> >();

            mockA.SetUnexpectedBehavior(UnexpectedCallBehaviors.BaseOrDefault);
        }
Example #3
0
 public void createDynamicMockOfGenericAgain()
 {
     genericClass <int> mockA = MockRepository.Mock <genericClass <int> >();
 }