public void SendFile() { _command = new Command(new SkypeReceiver(), CommandType.SendFile); _command.Type = CommandType.SendFile; _command.FilePath = _filePath; _command.Users = _oneUser; _command.Execute(); }
public void PlaceCallWithOfflineUserTest() { try { _command = new Command(new SkypeReceiver(), CommandType.VoiceCall); _command.Users = new string[] { "Unknown" }; _command.Execute(); } catch (Exception exc) { Assert.AreEqual(exc.Message, "The user Unknown is offline."); } }
public SEClient(CommandType type) { _command = new Command(new SkypeReceiver(), type); }
public void StartChatTest() { _command = new Command(new SkypeReceiver(), CommandType.Chat); _command.Users = _oneUser; _command.Execute(); }
public void MakeAVoiceCallTest() { _command = new Command(new SkypeReceiver(), CommandType.VoiceCall); _command.Users = _oneUser; _command.Execute(); }