public void DotNetCoreAlias_AddNugetSource_NoContext() { ICakeContext context = null; Assert.ThrowsException <ArgumentNullException>(() => context.AddDotNetCoreHelperNugetSource("test1")); }