public void TestMockOnGenericWithDifferentTypes() { IComparable <int> mock1 = MockRepository.Mock <IComparable <int> >(); mock1.SetUnexpectedBehavior(UnexpectedCallBehaviors.BaseOrDefault); IComparable <bool> mock2 = MockRepository.Mock <IComparable <bool> >(); mock2.SetUnexpectedBehavior(UnexpectedCallBehaviors.BaseOrDefault); }