public void Delete_DeleteExistingFunction_FunctionWillBeDeleted() { var fs = new FunctionStorage(); fs.Add("Name", new Cos()); fs.Delete("Name"); fs.Add("Name", new Cos()); }
public void Delete_DeleteNonExistentFunction_ExceptionReturned() { var fs = new FunctionStorage(); Assert.Catch <Exception>(() => fs.Delete("Name")); }