public void setup() { // Very helpful for debugging RhinoMocks.Logger = new Rhino.Mocks.Impl.TextWriterExpectationLogger(Console.Out); mockedClient = MockRepository.GenerateMock<ReevooClient>(); conversations = MockRepository.GeneratePartialMock<Conversations>(); conversations.Stub(x => x.ClientUrl()).Return(null); conversations.Trkref = "FOO"; conversations.client = mockedClient; }