def METHOD_NAME(self, lldpd1, lldpd, lldpcli, namespaces, command, expected):
    with namespaces(2):
        lldpd()
        result = lldpcli(*shlex.split("configure dot3 power {}".format(command)))
        assert result.returncode == 0
        time.sleep(3)
    with namespaces(1):
        pfx = "lldp.eth0.port.power."
        out = lldpcli("-f", "keyvalue", "show", "neighbors", "details")
        out = {k[len(pfx) :]: v for k, v in out.items() if k.startswith(pfx)}
        assert out == expected