Ejemplo n.º 1
0
 public void Setup()
 {
     continuation = new CommonTestElement();
     text         = "Some typed text!";
     element      = new object();
     sut          = new TypeActionForTest(continuation);
 }
Ejemplo n.º 2
0
        public void FindTypable_GivenIdentifier_CallsDriver()
        {
            var typeAction = new TypeActionForTest(new ElementForTest());

            driver.Setup(d => d.FindTypable <ElementForTest>(identifier)).Returns(typeAction);

            sut.FindTypable(identifier).Should().BeSameAs(typeAction);
            driver.VerifyAll();
        }