public void SetVoiceName_InvalidWavFileFormat_Failure() { //try and upload a bogus WAV file which should fail - the exe will be in the output folder when running unit //tests and makes a handy file that will fail to convert or upload var res = _tempHandler.SetVoiceName("wavcopy.exe", true); Assert.IsFalse(res.Success, "Invalid WAV file should fail to convert"); }