public void AddDependencyCollector_BadArgs() { TracerBuilder builder = null; Assert.Throws <ArgumentNullException>(() => builder.AddDependencyCollector()); Assert.Throws <ArgumentNullException>(() => builder.AddDependencyCollector(null, null)); }