Exemplo n.º 1
0
        public void FindClickable_GivenIdentifier_CallsDriver()
        {
            var clickAction = new ClickActionForTest(new ElementForTest());

            driver.Setup(d => d.FindClickable <ElementForTest>(identifier)).Returns(clickAction);

            sut.FindClickable(identifier).Should().BeSameAs(clickAction);
            driver.VerifyAll();
        }
Exemplo n.º 2
0
 public void Setup()
 {
     element      = new object();
     continuation = new CommonTestElement();
     sut          = new ClickActionForTest(continuation);
 }