async def METHOD_NAME(
    mock_db_manager: Callable,
    default_configuration: dict[str, Any],
    user_id: int,
    project_id: str,
    node_uuid: str,
):
    db_manager = mock_db_manager(default_configuration)
    original_inputs = create_valid_port_mapping(InputsList, suffix="original")
    original_outputs = create_valid_port_mapping(OutputsList, suffix="original")
    async def mock_save_db_cb(*args, **kwargs):
        pass
    async def mock_node_port_creator_cb(*args, **kwargs):
        updated_node_ports = Nodeports(
            inputs=original_inputs,
            outputs=original_outputs,
            db_manager=db_manager,
            user_id=user_id,
            project_id=project_id,
            node_uuid=node_uuid,
            save_to_db_cb=mock_save_db_cb,
            node_port_creator_cb=mock_node_port_creator_cb,
            auto_update=False,
        )
        return updated_node_ports
    node_ports = Nodeports(
        inputs=original_inputs,
        outputs=original_outputs,
        db_manager=db_manager,
        user_id=user_id,
        project_id=project_id,
        node_uuid=node_uuid,
        save_to_db_cb=mock_save_db_cb,
        node_port_creator_cb=mock_node_port_creator_cb,
        auto_update=False,
    )
    for port in original_inputs.values():
        assert await node_ports.get(port.key) == port.value
        await node_ports.set(port.key, port.value)
    with pytest.raises(exceptions.UnboundPortError):
        await node_ports.get("some_invalid_key")
    for port in original_outputs.values():
        assert await node_ports.get(port.key) == port.value
        await node_ports.set(port.key, port.value)
    # test batch add
    async with ProgressBarData(steps=1) as progress_bar:
        await node_ports.set_multiple(
            {
                port.key: (port.value, None)
                for port in list(original_inputs.values())
                + list(original_outputs.values())
            },
            progress_bar=progress_bar,
        )
    assert progress_bar._continuous_progress_value == pytest.approx(1)