public void shouldCallToReturnPercentLoaded() { addJSPrefixCallToMock(); mockProcessor.ExpectAndReturn("GetEval", "100", new object[] { "document['" + flashObjectId + "'].PercentLoaded();" }); Assert.AreEqual("100", flashSelenium.PercentLoaded()); }