public void shouldGetPropertyAsNumber() { addJSPrefixCallToMock(); mockProcessor.ExpectAndReturn("GetEval", "42", new object[] { "document['" + flashObjectId + "'].TGetPropertyAsNumber('/','42');" }); Assert.AreEqual(42, flashSelenium.TGetPropertyAsNumber("/", 42)); }