public void CheckingCheckFtpConnectionWithBadConnectionString() { var webclass = new WebClass(); var result = webclass.CheckFtpConnection("test", "test", "test", ""); Assert.That(result, Is.EqualTo(false)); }
public void CheckingCheckFtpConnectionWithGoodConnectionString() { var webclass = new WebClass(); var result = webclass.CheckFtpConnection("localhost", "tomasz", "tomasz123", ""); Assert.That(result, Is.EqualTo(true)); }