There's no technical reason you can't mock some pieces and not others, however, it's not clear why it wouldn't work for you. Can you show how you're initializing your class under test?
On Tue, May 7, 2013 at 2:16 AM, Sai Karthik <[email protected]> wrote: > Hi, > > I have a application where WCF services constitute datalayer, and > controller calls class in datalayer, which in turn calls WCF service. > All these days I have been mocking the datalayer class to return stub > response, but I today I have let the controller call the datalayer so > that actual service will be called. But this has failed, since the > proxy service object was null. > > Is there a way I can see proxy service object being available, while I > run my unit test using rhino mocks. > > -- > You received this message because you are subscribed to the Google Groups > "Rhino.Mocks" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/rhinomocks?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "Rhino.Mocks" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/rhinomocks?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
