public void Should_Throw_If_Cake_Context_Is_Null() { var result = Record.Exception(() => ProGetAssetAliases.ProGetDownloadAsset(null, "http://localhost:9091/content/testdir/asset.gif", "./out/asset.gif", new ProGetConfiguration())); Assert.IsArgumentNullException(result, "context"); }
public void Should_Throw_If_Cake_Context_Is_Null() { var result = Record.Exception(() => ProGetAssetAliases.ProGetPushAsset(null, new FilePath("foo"), "http://foo.com", new ProGetConfiguration())); Assert.IsArgumentNullException(result, "context"); }
public void Should_Throw_If_Cake_Context_Is_Null() { var result = Record.Exception(() => ProGetAssetAliases.ProGetCreateAssetDirectory(null, "http://localhost:9091/content/testdir", new ProGetConfiguration())); Assert.IsArgumentNullException(result, "context"); }