public void SearchContextIsJavaScriptExecutor() { var context = new FakeJavaScriptExecutor(); var convertedContext = ClassUnderTest.Convert(context); convertedContext.ShouldNotBeNull(); convertedContext.ShouldBeOfType <FakeJavaScriptExecutor>(); convertedContext.ShouldBeTheSameAs(context); }
public FakeWrapsDriver(FakeJavaScriptExecutor executor) { WrappedDriver = executor; }