public void Search_TextToSearchParameterIsNull_ReturnsZeroPatternHits() { var configuration = new Configuration(); var patternMatcher = new PatternMatcher(configuration); var patternHits = patternMatcher.Search(null); Assert.AreEqual(0, patternHits.Count()); }
public AliasBeGonePackage() { var configuration = new Configuration(); var resourceManager = new ResourceReader(SNIPPETS_NAMESPACE); _patternMatcher = new PatternMatcher(configuration); _snippetsManager = new SnippetsManager(configuration, resourceManager); _snippetsInstalled = _snippetsManager.IsInstalled; }