Пример #1
0
 public void shouldCallSetVariable()
 {
     addJSPrefixCallToMock();
     mockProcessor.Expect("GetEval", new object[] { "document['" + flashObjectId + "'].SetVariable('Foo','42');" });
     try
     {
         flashSelenium.SetVariable("Foo", "42");
     }
     catch (Exception e)
     {
         Assert.Fail("Should Not Fail\n" + e.Message);
     }
 }