def METHOD_NAME(self, *, app):
    app.boot_strategy = Mock(name="boot_strategy")
    app.client_only = True
    assert app.on_init_dependencies() == app.boot_strategy.client_only()
    app.client_only = False
    assert app.on_init_dependencies() == app.boot_strategy.server()
    app.producer_only = True
    assert app.on_init_dependencies() == app.boot_strategy.producer_only()