public void ShouldFindName() { mockProcessor.ExpectAndReturn("GetEval", "Return Name", "document['Test'].content.findName('objectName');"); silvernium = new Silvernium(selenium, "Test"); Assert.AreEqual("Return Name", silvernium.FindName("objectName")); }