public void Valid() { var processor = new Processor { AddinSearchPaths = new List<string> { Path.GetFullPath("Packages") } }; processor.CacheAllFodyAddinDlls(); Assert.IsNotNull( processor.FindAddinAssembly("SampleTask")); }
public void NotFound() { var processor = new Processor { AddinSearchPaths = new List<string> { Path.GetFullPath("Packages") } }; processor.CacheAllFodyAddinDlls(); Assert.IsNull(processor.FindAddinAssembly("DoesNotExist")); }