def METHOD_NAME(*, channel, app):
    app.producer = Mock(name="producer")
    with pytest.raises(NotImplementedError):
        channel.as_future_message(
            key=b"foo",
            value=b"bar",
            partition=None,
            eager_partitioning=True,
        )