public async Task Will_Return_Template_With_Active_Version_Only_By_TemplateId()
        {
            var expectedTemplate = DeepClone(_templates[0]);

            expectedTemplate.Versions = expectedTemplate.Versions.Where(x => x.IsActive).ToList();

            _tenantIdProvider.Setup(x => x.TenantId).Returns(Tenant1Id).Verifiable();
            var template = await _repository.GetTemplateWithActiveVersionOnly(_templates[0].TemplateId);

            template.Should().BeEquivalentTo(expectedTemplate);
        }