def METHOD_NAME(
    topic_path: str, capsys: CaptureFixture[str]
) -> None:
    publisher.publish_with_ordering_keys(PROJECT_ID, TOPIC_ID)
    out, _ = capsys.readouterr()
    assert f"Published messages with ordering keys to {topic_path}." in out