public async Task GetTenantByAddressId() { await tenantRepository.AddAsync(tenant); var dtoTenant = await tenantRepository.GetTenantByAddressIdAsync(tenant.AddressId); Assert.Equal(tenant, dtoTenant); }