public void DoIfSatisfiedSpecDeDosEntidadesCallActionTest()
        {
            fakeEntity = new FakeEntity { Name = "Probando" };

            var specificationApplicator = new SpecificationApplicator(specificationFactory.Object);
            specificationFactory.Setup(f => f.GetSpecification<FakeSpec2, FakeEntity, FakeEntity>()).Returns(
                            new FakeSpec2());
            specificationApplicator.DoIfSatisfied<FakeSpec2, FakeEntity, FakeEntity>(fakeEntity, fakeEntity,
                                                                                     (entity, entity1) =>
                                                                                         { });

            specificationFactory.Verify(f => f.GetSpecification<FakeSpec2, FakeEntity, FakeEntity>());
        }
 private void CuandoSeRealizaLaAccion(SpecificationApplicator specificationApplicator)
 {
     specificationApplicator.DoIfSatisfied<NombreNoEsNuloSpec, FakeEntity>(fakeEntity,
                                                                           entity => acctionCalled = true);
 }