public void CanRegisterIndex() { var store = new InMemoryDocumentStore(new MvxWpfSqLiteConnectionFactory()).Initialize(); store.RegisterIndex(new PersonIndexMap()); var map = store.GetIndexMapByEntityType(typeof (Person)); Assert.IsNotNull(map); }
public void CanInitializeDocumentStore() { var store = new InMemoryDocumentStore(new MvxWpfSqLiteConnectionFactory()); store.Initialize(); Assert.IsNotNull(store.Connection); }