def METHOD_NAME(self, *, router, app, assignor):
    table = app.tables["foo"] = Mock(name="table")
    ret = router.table_metadata("foo")
    assert ret is assignor.table_metadata.return_value
    assignor.table_metadata.assert_called_once_with(
        table.changelog_topic.get_topic_name(),
    )