Esempio n. 1
0
		public EtagSynchronizerTests()
		{
			storage = MockRepository.GenerateStub<ITransactionalStorage>();
			storage.Stub(x => x.Batch(Arg<Action<IStorageActionsAccessor>>.Is.Anything)).WhenCalled(x => numberOfCalls++);
		}
Esempio n. 2
0
 public EtagSynchronizerTests()
 {
     storage = MockRepository.GenerateStub <ITransactionalStorage>();
     storage.Stub(x => x.Batch(Arg <Action <IStorageActionsAccessor> > .Is.Anything)).WhenCalled(x => numberOfCalls++);
 }