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