public VerifyTests() { demoParam = MockRepository.Partial <ConcreteDemo>(); demoParam.SetUnexpectedBehavior(UnexpectedCallBehaviors.BaseOrDefault); demo = MockRepository.Mock <IDemo>(); demo.SetUnexpectedBehavior(UnexpectedCallBehaviors.BaseOrDefault); }
public VerifyTests() { mocks = new MockRepository(); demoParam = mocks.StrictMock(typeof(ConcreteDemo)) as ConcreteDemo; demo = mocks.StrictMock(typeof(IDemo)) as IDemo; }
public void SetUp() { mocks = new MockRepository(); demoParam = mocks.StrictMock(typeof(ConcreteDemo)) as ConcreteDemo; demo = mocks.StrictMock(typeof(IDemo)) as IDemo; }
public VerifyTests() { demoParam = MockRepository.Partial<ConcreteDemo>(); demo = MockRepository.Mock<IDemo>(); }
public VerifyTests() { demoParam = MockRepository.Partial <ConcreteDemo>(); demo = MockRepository.Mock <IDemo>(); }