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