public void ShouldReturnJSFunctionForDirectMethodForMSIE()
 {
     mockProcessor.ExpectAndReturn("GetEval", "MSIE", "navigator.userAgent");
     silvernium = new Silvernium(selenium, "Test");
     Assert.AreEqual("window.document['Test'].Func1();", silvernium.jsForDirectMethod("Func1"));
     Assert.AreEqual("window.document['Test'].Func2('42');", silvernium.jsForDirectMethod("Func2", "42"));
     Assert.AreEqual("window.document['Test'].Func3('42','24');",
                     silvernium.jsForDirectMethod("Func3", new[] { "42", "24" }));
 }