I've never mocked anything like this before either, but I have used Rhino Mocks before. Do you have some sample code that you could show? Something concrete like your interface definition and how you want things mocked out?
--- Patrick Steele http://weblogs.asp.net/psteele On Sat, Nov 27, 2010 at 3:41 PM, Bill44077 <[email protected]> wrote: > Hi, > I've been trying to figure out how to mock an async wcf call mocking > out the interface using RhinoMocks. I can't seem to be able to figure > out how to do this using the AAA syntax (not playback/record), mocking > raising the callback event, using lambdas, receiving the result object > from the mock. I basically want to mock out this whole collaboration. > I'm quite sure this is possible but can't figure out the syntax/calls. > If anyone has an example of how to do this - I'd really appreciate it. > I would think this would be a very common set of tests when doing TDD > with Silverlight since everything with the server is an async call. > Thanks in Advance! > Bill Campbell > > -- > You received this message because you are subscribed to the Google Groups > "Rhino.Mocks" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/rhinomocks?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Rhino.Mocks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rhinomocks?hl=en.
