def METHOD_NAME(self):
    deb_postgres.cluster_create(
        "9.3",
        "main",
        port="5432",
        locale="fr_FR",
        encoding="UTF-8",
        datadir="/opt/postgresql",
    )
    cmdstr = (
        "/usr/bin/pg_createcluster "
        "--port 5432 --locale fr_FR --encoding UTF-8 "
        "--datadir /opt/postgresql "
        "9.3 main"
    )
    self.assertEqual(cmdstr, self.cmd_run_all_mock.call_args[0][0])