public void SaveAndGetReadModelTest() { var expected = new FakeReadModel("TEST"); var store = new AzureReadModelStore(DevConnectionString, TestContainerName); store.Save(expected); var actual = store.GetReadModel <FakeReadModel>(); Assert.AreEqual(expected.Get(""), actual.Get("")); }
public void SaveAndGetReadModelTest() { var expected = new FakeReadModel("TEST"); var store = new DirectoryReadModelStore("store"); store.Save(expected); var actual = store.GetReadModel <FakeReadModel>(); Assert.AreEqual(expected.Get(""), actual.Get("")); }
public void SaveAndGetReadModelTest() { var expected = new FakeReadModel("TEST"); var store = new AzureReadModelStore(DevConnectionString, TestContainerName); store.Save(expected); var actual = store.GetReadModel<FakeReadModel>(); Assert.AreEqual(expected.Get(""), actual.Get("")); }
public void SaveAndGetReadModelTest() { var expected = new FakeReadModel("TEST"); var store = new DirectoryReadModelStore("store"); store.Save(expected); var actual = store.GetReadModel<FakeReadModel>(); Assert.AreEqual(expected.Get(""), actual.Get("")); }