public void AddScriptWithNonUniqueNameShouldFail() { var scriptsFromStore = _store.Scripts; Script newScript = new Script { Name = scriptsFromStore[0].Name }; bool added = _store.AddScript(newScript); Assert.AreEqual(added, false); }
public bool AddScript(Script script) { return(_scriptStore.AddScript(script)); }