public TinyIoC.TinyIoCContainer New_AutoRegister() { var retVal = new TinyIoC.TinyIoCContainer(); retVal.AutoRegister(); return(retVal); }
public void SetUp() { dataWriter = MockRepository.GenerateStub <IDataWriter> (); var container = new TinyIoC.TinyIoCContainer(); container.AutoRegister(t => t.Assembly.FullName.StartsWith("QueueSpy")); handler = new BrokerEventHandler(dataWriter, container, new Logger()); }