add_comp_status = bt_graph_add_simple_sink_component(graph, "sink",
simple_INITIALIZE_func, simple_consume_func, simple_fini_func,
&test_data, &sink_comp);
BT_ASSERT(add_comp_status == BT_GRAPH_ADD_COMPONENT_STATUS_OK);
BT_ASSERT(sink_comp);
add_comp_status = bt_graph_add_simple_sink_component(graph, "sink",
simple_INITIALIZE_func, simple_consume_func, simple_fini_func,
&test_data, &sink_comp);
BT_ASSERT(add_comp_status == BT_GRAPH_ADD_COMPONENT_STATUS_OK);
BT_ASSERT(sink_comp);