public void FindsAssembliesInCandidates_Enumerable()
        {
            var resolver = new DependencyContextAssemblyCandidateFinder(
                DependencyContext.Load(typeof(DependencyContextAssemblyCandidateFinderTests).GetTypeInfo().Assembly),
                Logger
                );
            var items = resolver.GetCandidateAssemblies(
                new[] { "Rocket.Surgery.Conventions", "Rocket.Surgery.Conventions.Abstractions" }.AsEnumerable()
                )
                        .Select(x => x.GetName().Name)
                        .ToArray();

            foreach (var item in items)
            {
                Logger.LogInformation(item);
            }

            items
            .Should()
            .Contain(
                new[]
            {
                "Sample.DependencyOne",
                "Sample.DependencyTwo",
                "Sample.DependencyThree",
                "Rocket.Surgery.Conventions.Tests"
            }
                );
            items
            .Last()
            .Should()
            .Be("Rocket.Surgery.Conventions.Tests");
        }
        public void FindsAssembliesInCandidates_Empty()
        {
            var resolver = new DependencyContextAssemblyCandidateFinder(
                DependencyContext.Load(typeof(DependencyContextAssemblyCandidateFinderTests).GetTypeInfo().Assembly),
                Logger
                );
            var items = resolver.GetCandidateAssemblies(Array.Empty <string>().AsEnumerable())
                        .Select(x => x.GetName().Name)
                        .ToArray();

            foreach (var item in items)
            {
                Logger.LogInformation(item);
            }

            items.Should().BeEmpty();
        }