public void GenericMethodWithConstrait()
        {
            IClass1 class1 = MockRepository.Mock <IClass1>();

            class1.SetUnexpectedBehavior(UnexpectedCallBehaviors.BaseOrDefault);
            IClass2 class2 = MockRepository.Mock <IClass2>();

            class2.SetUnexpectedBehavior(UnexpectedCallBehaviors.BaseOrDefault);

            class1.Expect(x => x.Method1 <int>(1));
            class2.Expect(x => x.Method2(new ExampleClass()));
        }