예제 #1
0
		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);
		}
예제 #2
0
 public void SaveTenant(Tenant tenant)
 {
   throw new NotImplementedException();
 }