[Routing] Moving include instruction to separate method

| Q             | A
| ------------- | ---
| Bug fix?      | [yes]
| New feature?  | [no]
| BC breaks?    | [no]
| Deprecations? | [no]
| Tests pass?   | [yes]
| Fixed tickets | #12106
| License       | MIT
instead of this test, you should rather build the PHP version of the ``validresource`` fixture file, which is available for XML and YAML only currently