8 calls to ContextDefinition::create()
- AutocompleteTest::testListAutocomplete in tests/
src/ Kernel/ Engine/ AutocompleteTest.php - Tests that autocomplete results for a flat list are correct.
- AutocompleteTest::testNodeAutocomplete in tests/
src/ Kernel/ Engine/ AutocompleteTest.php - Test various node example data selectors.
- RulesComponentActionTest::testAutosaveOnlyOnce in tests/
src/ Unit/ Integration/ RulesAction/ RulesComponentActionTest.php - Tests that auto saving is only triggered once with nested components.
- RulesComponentActionTest::testContextDefinitions in tests/
src/ Unit/ Integration/ RulesAction/ RulesComponentActionTest.php - Tests that context definitions are available on the derived action.
- RulesComponentActionTest::testExecute in tests/
src/ Unit/ Integration/ RulesAction/ RulesComponentActionTest.php - Tests that the execution of the action invokes the Rules component.
- RulesComponentActionTest::testExecutionProvidedVariables in tests/
src/ Unit/ Integration/ RulesAction/ RulesComponentActionTest.php - Tests that a rules component in an action can also provide variables.
- RulesComponentTest::testGetContextDefinitions in tests/
src/ Unit/ Integration/ Engine/ RulesComponentTest.php - @covers ::getContextDefinitions
- RulesEntityIntegrationTestBase::getContextDefinitionFor in tests/
src/ Unit/ Integration/ RulesEntityIntegrationTestBase.php - Helper to mock a context definition with a mocked data definition.