public void GetTenantReturnsTenantFromBlobStorage() { var mockTenantBlobContainer = new Mock<IBlobContainer<Tenant>>(); var store = new TenantStore(mockTenantBlobContainer.Object, null); var tenant = new Tenant(); mockTenantBlobContainer.Setup(c => c.Get("tenant")).Returns(tenant); var actualTenant = store.GetTenant("tenant"); Assert.AreSame(tenant, actualTenant); }
public void SaveTenant(Tenant tenant) { throw new NotImplementedException(); }