public void createDynamicMockOfGeneric() { MockRepository mocks = new MockRepository(); genericClass <int> mockA = mocks.DynamicMock <genericClass <int> >(); mocks.Replay(mockA); }
public void createDynamicMockOfGenericAgain() { genericClass <int> mockA = MockRepository.Mock <genericClass <int> >(); mockA.SetUnexpectedBehavior(UnexpectedCallBehaviors.BaseOrDefault); }
public void createDynamicMockOfGenericAgain() { genericClass <int> mockA = MockRepository.Mock <genericClass <int> >(); }