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