42 calls to RulesIntegrationTestBase::prophesizeEntity()
- AutoSaveTest::testActionAutoSave in tests/
src/ Unit/ Integration/ Engine/ AutoSaveTest.php - Tests auto saving after an action execution.
- EntityDeleteTest::testActionExecution in tests/
src/ Unit/ Integration/ RulesAction/ EntityDeleteTest.php - Tests the action execution.
- EntityHasFieldTest::testConditionEvaluation in tests/
src/ Unit/ Integration/ Condition/ EntityHasFieldTest.php - Tests evaluating the condition.
- EntityIsNewTest::testConditionEvaluation in tests/
src/ Unit/ Integration/ Condition/ EntityIsNewTest.php - Tests evaluating the condition.
- EntityIsOfBundleTest::testConditionEvaluation in tests/
src/ Unit/ Integration/ Condition/ EntityIsOfBundleTest.php - Tests evaluating the condition.
- EntityIsOfTypeTest::testConditionEvaluation in tests/
src/ Unit/ Integration/ Condition/ EntityIsOfTypeTest.php - Tests evaluating the condition.
- EntityPathAliasCreateTest::getMockEntity in tests/
src/ Unit/ Integration/ RulesAction/ EntityPathAliasCreateTest.php - Creates a mock entity.
- EntityPathAliasCreateTest::testActionExecutionWithSavedEntity in tests/
src/ Unit/ Integration/ RulesAction/ EntityPathAliasCreateTest.php - Tests the action execution with a saved entity.
- EntityPathAliasCreateTest::testActionExecutionWithUnsavedEntity in tests/
src/ Unit/ Integration/ RulesAction/ EntityPathAliasCreateTest.php - Tests the action execution with an unsaved entity.
- EntitySaveTest::setUp in tests/
src/ Unit/ Integration/ RulesAction/ EntitySaveTest.php - ListContainsTest::testConditionEvaluation in tests/
src/ Unit/ Integration/ Condition/ ListContainsTest.php - Tests evaluating the condition.
- LoopTest::testPropertyPathList in tests/
src/ Unit/ Integration/ Engine/ LoopTest.php - Tests that a list can be chosen with a property path selector.
- NodeIsOfTypeTest::testConditionEvaluation in tests/
src/ Unit/ Integration/ Condition/ NodeIsOfTypeTest.php - Tests evaluating the condition.
- NodeIsPromotedTest::testConditionEvaluation in tests/
src/ Unit/ Integration/ Condition/ NodeIsPromotedTest.php - Tests evaluating the condition.
- NodeIsPublishedTest::testConditionEvaluation in tests/
src/ Unit/ Integration/ Condition/ NodeIsPublishedTest.php - Tests evaluating the condition.
- NodeIsStickyTest::testConditionEvaluation in tests/
src/ Unit/ Integration/ Condition/ NodeIsStickyTest.php - Tests evaluating the condition.
- NodeMakeStickyTest::testActionExecution in tests/
src/ Unit/ Integration/ RulesAction/ NodeMakeStickyTest.php - Tests the action execution.
- NodeMakeUnstickyTest::testActionExecution in tests/
src/ Unit/ Integration/ RulesAction/ NodeMakeUnstickyTest.php - Tests the action execution.
- NodePromoteTest::testActionExecution in tests/
src/ Unit/ Integration/ RulesAction/ NodePromoteTest.php - Tests the action execution.
- NodePublishTest::testActionExecution in tests/
src/ Unit/ Integration/ RulesAction/ NodePublishTest.php - Tests the action execution.
- NodeUnpromoteTest::testActionExecution in tests/
src/ Unit/ Integration/ RulesAction/ NodeUnpromoteTest.php - Tests the action execution.
- NodeUnpublishTest::testActionExecution in tests/
src/ Unit/ Integration/ RulesAction/ NodeUnpublishTest.php - Tests the action execution.
- PathAliasCreateTest::testActionExecutionWithLanguage in tests/
src/ Unit/ Integration/ RulesAction/ PathAliasCreateTest.php - Tests the action execution when a language is specified.
- PathAliasCreateTest::testActionExecutionWithoutLanguage in tests/
src/ Unit/ Integration/ RulesAction/ PathAliasCreateTest.php - Tests the action execution when no language is specified.
- PathAliasDeleteByAliasTest::testActionExecution in tests/
src/ Unit/ Integration/ RulesAction/ PathAliasDeleteByAliasTest.php - Tests the action execution.
- PathAliasDeleteByPathTest::testActionExecution in tests/
src/ Unit/ Integration/ RulesAction/ PathAliasDeleteByPathTest.php - Tests the action execution.
- RulesComponentActionTest::testAutosaveOnlyOnce in tests/
src/ Unit/ Integration/ RulesAction/ RulesComponentActionTest.php - Tests that auto saving is only triggered once with nested components.
- RulesComponentActionTest::testExecute in tests/
src/ Unit/ Integration/ RulesAction/ RulesComponentActionTest.php - Tests that the execution of the action invokes the Rules component.
- SendAccountEmailTest::testActionExecution in tests/
src/ Unit/ Integration/ RulesAction/ SendAccountEmailTest.php - Tests the action execution.
- SystemEmailToUsersOfRoleTest::setUp in tests/
src/ Unit/ Integration/ RulesAction/ SystemEmailToUsersOfRoleTest.php - UserBlockTest::getUserMock in tests/
src/ Unit/ Integration/ RulesAction/ UserBlockTest.php - Creates a mock user.
- UserHasEntityFieldAccessTest::testConditionEvaluation in tests/
src/ Unit/ Integration/ Condition/ UserHasEntityFieldAccessTest.php - Tests evaluating the condition.
- UserHasRoleTest::testConditionEvaluation in tests/
src/ Unit/ Integration/ Condition/ UserHasRoleTest.php - Tests evaluating the condition.
- UserHasRoleTest::testInvalidOperationException in tests/
src/ Unit/ Integration/ Condition/ UserHasRoleTest.php - Test the behavior with unsupported operations.
- UserIsBlockedTest::testConditionEvaluation in tests/
src/ Unit/ Integration/ Condition/ UserIsBlockedTest.php - Tests evaluating the condition.
- UserRoleAddTest::testAddExistingAndNonexistentRole in tests/
src/ Unit/ Integration/ RulesAction/ UserRoleAddTest.php - Tests adding of one existing and one nonexistent role to user.
- UserRoleAddTest::testAddExistingRole in tests/
src/ Unit/ Integration/ RulesAction/ UserRoleAddTest.php - Tests adding of existing role to user.
- UserRoleAddTest::testAddOneRoleNoSave in tests/
src/ Unit/ Integration/ RulesAction/ UserRoleAddTest.php - Tests adding of one role to user. User should not be saved.
- UserRoleAddTest::testAddThreeRoles in tests/
src/ Unit/ Integration/ RulesAction/ UserRoleAddTest.php - Tests adding of three roles to user.
- UserRoleRemoveTest::testRemoveExistingRoleNoSave in tests/
src/ Unit/ Integration/ RulesAction/ UserRoleRemoveTest.php - Tests removing role from user. User should not be saved.
- UserRoleRemoveTest::testRemoveNonExistingRole in tests/
src/ Unit/ Integration/ RulesAction/ UserRoleRemoveTest.php - Tests removing non-existing role from user.
- UserUnblockTest::testUnblockUser in tests/
src/ Unit/ Integration/ RulesAction/ UserUnblockTest.php - Test execute() method for users with different status.