public void UpdateInterviewHandler_InvalidObjectId_Failure() { ConnectionPropertyList oProps = new ConnectionPropertyList(); oProps.Add("bogus", "bogusvalue"); var res = InterviewHandler.UpdateInterviewHandler(_connectionServer, "ObjectId", oProps); Assert.IsFalse(res.Success, "Calling static method UpdateInterviewHandler did not fail with: invalid objectId"); }
public void UpdateInterviewHandler_EmptyPropertyList_Failure() { var res = InterviewHandler.UpdateInterviewHandler(_mockServer, "ObjectId", new ConnectionPropertyList()); Assert.IsFalse(res.Success, "Calling static method UpdateInterviewHandler did not fail with: empty property list"); }
public void UpdateInterviewHandler_EmptyObjectId_Failure() { var res = InterviewHandler.UpdateInterviewHandler(_mockServer, "", null); Assert.IsFalse(res.Success, "Calling static method UpdateInterviewHandler did not fail with: empty object id"); }
public void UpdateInterviewHandler_NullPropertyList_Failure() { var res = InterviewHandler.UpdateInterviewHandler(_mockServer, "ObjectId", null); Assert.IsFalse(res.Success, "Calling static method UpdateInterviewHandler did not fail with: null property list"); }
public void UpdateInterviewHandler_NullConnectionServer_Failure() { var res = InterviewHandler.UpdateInterviewHandler(null, "objectId", null); Assert.IsFalse(res.Success, "Calling static method UpdateInterviewHandler did not fail with: null ConnectionServer"); }