public void EventStoreManager_CanBeCreated_IsCreated() { Mock <Func <String, IEventStoreContext> > contextResolver = new Mock <Func <String, IEventStoreContext> >(); Mock <Func <IConfigurationRepository> > configurationRepositoryResolver = new Mock <Func <IConfigurationRepository> >(); Mock <IOptions <EventStoreSettings> > eventStoreSettings = new Mock <IOptions <EventStoreSettings> >(); EventStoreManager manager = new EventStoreManager(contextResolver.Object, configurationRepositoryResolver.Object, eventStoreSettings.Object); manager.ShouldNotBeNull(); }