+ return BT_NOTIFICATION_ITERATOR_STATUS_OK;
+}
+
+static void dummy_iterator_finalize_method(
+ struct bt_private_connection_private_notification_iterator *private_iterator)
+{
+}
+
+static enum bt_notification_iterator_status dummy_iterator_next_method(
+ struct bt_private_connection_private_notification_iterator *private_iterator,
+ bt_notification_array notifs, uint64_t capacity,
+ uint64_t *count)
+{
+ return BT_NOTIFICATION_ITERATOR_STATUS_ERROR;
+}
+
+static struct bt_component_class_query_method_return query_method(
+ struct bt_component_class *component_class,
+ struct bt_query_executor *query_exec,
+ const char *object, struct bt_value *params)
+{
+ struct bt_private_value *results = bt_private_value_array_create();
+ struct bt_component_class_query_method_return ret = {
+ .status = BT_QUERY_STATUS_OK,
+ .result = bt_value_borrow_from_private(results),
+ };
+ int iret;
+
+ BT_ASSERT(ret.result);
+ iret = bt_private_value_array_append_string_element(results, object);
+ BT_ASSERT(iret == 0);
+ iret = bt_private_value_array_append_element(results, params);
+ BT_ASSERT(iret == 0);
+ return ret;