public startRecording ( |
||
startRecording | A StartRecording object. | |
Результат | void |
public void testNewStartRecordingObject() { StartRecording startRecording = new StartRecording(); startRecording.format = AudioFormat.mp3; startRecording.method = Method.post; startRecording.url = "http://blah.com/recordings/1234.wav"; startRecording.username = "******"; startRecording.password = "******"; Tropo tropo = new Tropo(); tropo.startRecording(startRecording); Assert.AreEqual(this.startRecordingJson, TropoJSON.render(tropo)); }
public void testNewStartRecording() { Tropo tropo = new Tropo(); tropo.startRecording(AudioFormat.mp3, Method.post, "http://blah.com/recordings/1234.wav", "jose", "password"); Assert.AreEqual(this.startRecordingJson, TropoJSON.render(tropo)); }