public void ReturnsNonNullSolutionProcessors() { var repo = new OmniscientSolutionProcessorRepository(new[] { Assembly.GetExecutingAssembly() }); var processors = repo.GetProcessors(); Assert.That(processors, Has.All.Not.Null); }
public void FindsOnlyValidSolutionProcessorTypes() { var typesFound = OmniscientSolutionProcessorRepository.FindProcessorTypesWithin( new[] { Assembly.GetExecutingAssembly() }); Assert.That(typesFound, Is.EquivalentTo(new[] { typeof(MockProcessor) })); }