Esempio n. 1
0
 public void Valid(string key)
 {
     var command = new DoSendKeyCommand {Key = key, Test = new SeleniteTest()};
     command.Validate();
 }
Esempio n. 2
0
 public void Invalid(string key)
 {
     var command = new DoSendKeyCommand { Key = key, Test = new SeleniteTest() };
     Assert.Throws<ArgumentException>(() => command.Validate());
 }