I've been getting some off the wall errors and I can only assume it's my syntax or the way I'm using RM with Castle - possibly not meant to be.
Basically what I want to do is put a stub in Windsor so whent the class I'm testing goes to get a dependency, the stub is used. The test itself is verifying that a method on a mock doesn't get called, but it can't get that far because the stub isn't being found in the target via dependency injection. The error I get, and I wish I was at that computer to give you the exacts, is something to the effect of 'can't create instance of IWhatever because it's missing required System.Object' - basically saying that the stub has some sort of dependcy that I've not supplied to Windsor. I'm using 3.5 of Rhino Mock and RC3.0 of Windsor. Does someone have an example of using a stub that gets supplied to castle that a mock is going to be pulling out as part of a test? That way I can figure out what I'm doing wrong. Thanks! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
