atom feed6 messages in com.googlegroups.ninject[ninject] Re: Ninject.Moq
FromSent OnAttachments
Assaf StoneSep 3, 2009 12:01 am 
MiguelSep 5, 2009 11:58 pm 
Miguel MaderoSep 6, 2009 3:58 am 
Miguel MaderoFeb 21, 2010 2:52 pm.cs
teebotFeb 25, 2010 7:51 am 
Miguel MaderoFeb 25, 2010 2:39 pm 
Subject:[ninject] Re: Ninject.Moq
From:Miguel Madero (me@miguelmadero.com)
Date:Sep 6, 2009 3:58:12 am
List:com.googlegroups.ninject

I just realized that Mock can do this using Mock.Get that I can use on the mocked objects to obtain back the mock.

I started using Ninject.Moq for an MVC app, but I just got stuck when trying to setup the Mock. All the mocked objects get injected as dependencies, it works great, but then I need to setup the mocks so they actually do something and I can't get back from the mocked object to the mock.

Anyone has use this?

On Sep 3, 5:01 pm, Assaf Stone <ston@gmail.com> wrote:

Hi.

Does anybody here use Ninject.Moq (http://github.com/enkari/ ninject.moq/tree/master)?

Does anybody have an example of usage?

Thanks, Assaf.