//* Public Methods public int HandleCommand(Options options, ConfigWrapper wrapper) { if (options.ExtensionFile) { CodeWrapper code = new CodeWrapper(); code.InstallAllExtensions(wrapper); } return(0); }
public void InstallAllExtensionsNullTest() { bool caughtException = false; try { CodeWrapper code = new CodeWrapper(); code.InstallAllExtensions(null); } catch (ArgumentNullException) { caughtException = true; } catch (Exception e) { Assert.Fail(e.Message); } Assert.IsTrue(caughtException); }