private static void InitialiaseIoC() { var kernel = new StandardKernel(); kernel.Load(AppDomain.CurrentDomain.GetAssemblies()); _publishLogic = kernel.Get <IPublishLogic>(); }
public void Initialize() { _intPublisher = new Mock <IPublisher <int> >(); _stringPublisher = new Mock <IPublisher <string> >(); _publishLogic = new PublishLogic(_intPublisher.Object, _stringPublisher.Object); }