using Recyclarr.TestLibrary.Autofac; using Recyclarr.TrashLib.Config.Listers; using Recyclarr.TrashLib.Processors; namespace Recyclarr.TrashLib.Tests.Processors; [TestFixture] [Parallelizable(ParallelScope.All)] public class ConfigListProcessorTest { [Test] [InlineAutoMockData(ConfigListCategory.Templates)] public void List_templates_invokes_correct_lister( ConfigListCategory category, [Frozen(Matching.ImplementedInterfaces)] StubAutofacIndex configListers, IConfigLister lister, ConfigListProcessor sut) { configListers.Add(category, lister); sut.Process(category); lister.Received().List(); } }