public void SetUp() { _stub = MockRepository.GenerateStub<ISomeInterface>(); _returnValue = LazyReturnValue.Create(1); _stub.Stub(x => x.Function()).LazyReturnValue(_returnValue); }