public void Matches_IsSuccessful_True()
        {
            var stub = new Mock<IExecution>();
            stub.Setup(e => e.Run())
                .Returns(Mock.Of<IExecutionResult>(r => r.IsSuccess == true));
            var engine = stub.Object;

            var successfulConstraint = new SuccessfulConstraint();

            Assert.That(successfulConstraint.Matches(engine), Is.True);
        }
 protected global::NUnit.Framework.Constraints.Constraint InstantiateConstraint(SuccessfulXml successfulXml)
 {
     var ctr = new SuccessfulConstraint();
     return ctr;
 }
 protected NBiConstraint InstantiateConstraint(SuccessfulXml successfulXml)
 {
     var ctr = new SuccessfulConstraint();
     return ctr;
 }