Ejemplo n.º 1
0
        public async Task GetTenantByAddressId()
        {
            await tenantRepository.AddAsync(tenant);

            var dtoTenant = await tenantRepository.GetTenantByAddressIdAsync(tenant.AddressId);

            Assert.Equal(tenant, dtoTenant);
        }