public DefaultHostDocumentFactoryTest() { var store = new DefaultGeneratedCodeContainerStore( Dispatcher, Mock.Of <DocumentVersionCache>(), new Lazy <ILanguageServer>(() => null)); Factory = new DefaultHostDocumentFactory(Dispatcher, store); }
public DefaultHostDocumentFactoryTest() { var store = new DefaultGeneratedDocumentContainerStore( Dispatcher, Mock.Of <DocumentVersionCache>(), Mock.Of <GeneratedDocumentPublisher>()); Factory = new DefaultHostDocumentFactory(Dispatcher, store); }
public DefaultHostDocumentFactoryTest() { var store = new DefaultGeneratedDocumentContainerStore( LegacyDispatcher, Mock.Of <DocumentVersionCache>(MockBehavior.Strict), Mock.Of <GeneratedDocumentPublisher>(MockBehavior.Strict)); Factory = new DefaultHostDocumentFactory(store); }