public void ClearTest() { var target = new Compilers("Directory"); Assert.AreEqual(target.Count, 0); target.AddCompiler(new Compiler()); Assert.AreEqual(target.Count, 1); target.Clear(); Assert.AreEqual(target.Count, 0); }
public TestableDefaultCompilationManager() { ContentIdentifier = (MockContentIdentifier = new Mock <IContentIdentifier>()).Object; Compilers.Clear(); }