services:
    factory:
        class: Baz
    invalid_factory:
        class: FooBarClass
        factory: '@factory:method'
