def METHOD_NAME(self, prop, label):
    """ Test to set and get DropdownMenuConfig """
    d = self.rs.getClientConfigDefaults()
    key = "omero.client.ui.menu.dropdown.%s" % prop
    try:
        self.rs.setConfigValue(key, label)
        # test load_server_settings directly
        login_required(default_view).load_server_settings(
            self.conn, self.r)
        s = self.r.session.get('server_settings', {})
        prop = prop.replace(".label", "")
        assert s['ui']['menu']['dropdown'][prop]['label'] == label
    finally:
        self.rs.setConfigValue(key, d[key])