public VerifyTests()
 {
     demoParam = MockRepository.Partial <ConcreteDemo>();
     demoParam.SetUnexpectedBehavior(UnexpectedCallBehaviors.BaseOrDefault);
     demo = MockRepository.Mock <IDemo>();
     demo.SetUnexpectedBehavior(UnexpectedCallBehaviors.BaseOrDefault);
 }
Beispiel #2
0
 public VerifyTests()
 {
     mocks     = new MockRepository();
     demoParam = mocks.StrictMock(typeof(ConcreteDemo)) as ConcreteDemo;
     demo      = mocks.StrictMock(typeof(IDemo)) as IDemo;
 }
Beispiel #3
0
 public VerifyTests()
 {
     mocks = new MockRepository();
     demoParam = mocks.StrictMock(typeof(ConcreteDemo)) as ConcreteDemo;
     demo = mocks.StrictMock(typeof(IDemo)) as IDemo;
 }
Beispiel #4
0
 public void SetUp()
 {
     mocks = new MockRepository();
     demoParam = mocks.StrictMock(typeof(ConcreteDemo)) as ConcreteDemo;
     demo = mocks.StrictMock(typeof(IDemo)) as IDemo;
 }
Beispiel #5
0
		public  VerifyTests()
		{
            demoParam = MockRepository.Partial<ConcreteDemo>();
            demo = MockRepository.Mock<IDemo>();
		}
Beispiel #6
0
 public VerifyTests()
 {
     demoParam = MockRepository.Partial <ConcreteDemo>();
     demo      = MockRepository.Mock <IDemo>();
 }