Example #1
0
        public void find_when_the_tenant_id_matches()
        {
            var entity = new TrackedEntity
            {
                TenantId = theContext.CurrentTenant,
                Id       = Guid.NewGuid()
            };

            inner.Update(entity);

            theStorage.Find(entity.Id).ShouldBeTheSameAs(entity);
        }