public void CallHandlerTemplate_UpdateTests() { _tempHandlerTemplate.ClearPendingChanges(); var res = _tempHandlerTemplate.Update(); Assert.IsFalse(res.Success, "Updating template with no pending changes did not fail"); _tempHandlerTemplate.SendPrivateMsg = 0; _tempHandlerTemplate.PlayAfterMessage = 0; _tempHandlerTemplate.UseCallLanguage = true; _tempHandlerTemplate.UseDefaultLanguage = true; _tempHandlerTemplate.UseDefaultTimeZone = true; res = _tempHandlerTemplate.Update(); Assert.IsTrue(res.Success, "Failed to update call handler template:" + res); }