public void GetPrivateListVoiceName_InvalidObjectId_Failure() { var res = PrivateList.GetPrivateListVoiceName(_connectionServer, "userobjectid", "c:\\temp.wav", "ObjectId", "wavname"); Assert.IsFalse(res.Success, "Getting private list voice name via static method did not fail with invalid objectId"); }
public void GetPrivateListVoiceName_EmptyUserObjectId_Failure() { var res = PrivateList.GetPrivateListVoiceName(_mockServer, "", @"c:\", "ObjectId", "WavName"); Assert.IsFalse(res.Success, "Getting private list voice name via static method did not fail with empty user objectId "); }
public void GetPrivateListVoiceName_EmptyWavFilePath_Failure() { var res = PrivateList.GetPrivateListVoiceName(_mockServer, "UserObjectId", "", "ObjectId", ""); Assert.IsFalse(res.Success, "Getting private list voice name via static method did not fail with empty wav file name and target path "); }
public void GetPrivateListVoiceName_NullConnectionServer_Failure() { var res = PrivateList.GetPrivateListVoiceName(null, "UserObjectId", @"c:\", "ObjectId", "WavName"); Assert.IsFalse(res.Success, "Getting private list voice name via static method did not fail with null Connection server "); }