diff --git a/features/dependency_injection/using_context_by_its_service_id.feature b/features/dependency_injection/using_context_by_its_service_id.feature new file mode 100644 index 0000000..c44719f --- /dev/null +++ b/features/dependency_injection/using_context_by_its_service_id.feature @@ -0,0 +1,61 @@ +Feature: Using context by its service ID + + Background: + Given a working Symfony application with SymfonyExtension configured + And a Behat configuration containing: + """ + default: + suites: + default: + contexts: + - behat.context.some_context + """ + And a feature file containing: + """ + Feature: + Scenario: + Then it should pass + """ + And a context file "tests/SomeContext.php" containing: + """ +