public void ShouldCallSettingsProperties() { mockProcessor.ExpectAndReturn("GetEval", "True", "document['Test'].settings.enabledFramerateCounter;"); mockProcessor.ExpectAndReturn("GetEval", "True", "document['Test'].settings.enableRedrawRegions;"); mockProcessor.ExpectAndReturn("GetEval", "True", "document['Test'].settings.enableHtmlAccess;"); mockProcessor.ExpectAndReturn("GetEval", "42", "document['Test'].settings.maxFrameRate;"); mockProcessor.ExpectAndReturn("GetEval", "True", "document['Test'].settings.windowless;"); silvernium = new Silvernium(selenium, "Test"); Assert.IsTrue(silvernium.EnabledFrameRateCounter()); Assert.IsTrue(silvernium.EnableRedrawRegions()); Assert.IsTrue(silvernium.EnableHtmlAccess()); Assert.AreEqual(42, silvernium.MaxFrameRate()); Assert.IsTrue(silvernium.WindowLess()); }