public void Assembly_Can_Be_Added_Explicitly_Via_Path() { MyConfiguration cfg = new MyConfiguration(); Assert.IsFalse(cfg.ContainsAssembly("nunit.framework")); cfg.AddAssemblyReference("nunit.framework.dll"); Assert.IsTrue(cfg.ContainsAssembly("nunit.framework.dll")); }
public void Assembly_Can_Be_Added_Explicitly_Via_Assembly() { MyConfiguration cfg = new MyConfiguration(); Assert.IsFalse(cfg.ContainsAssembly("nunit.framework")); cfg.AddAssemblyReference(typeof(TestAttribute).Assembly); Assert.IsTrue(cfg.ContainsAssembly("nunit.framework")); }