def METHOD_NAME(weights_port_id, transpose, shape, expected_channel_axes):
    attributes = {
        NNCFNode.ID_NODE_ATTR: 0,
        NNCFNode.NODE_NAME_ATTR: "test",
        NNCFNode.METATYPE_ATTR: OVMatMulMetatype,
        NNCFNode.LAYER_ATTRIBUTES: OVLayerAttributes(
            constant_attributes={weights_port_id: {"transpose": transpose, "shape": shape}}
        ),
    }
    node = NNCFNode(attributes)
    actual_channel_axes = get_weight_channel_axes(node, weights_port_id)
    assert len(actual_channel_axes) == len(expected_channel_axes)
    assert all(a == b for a, b in zip(actual_channel_axes, expected_channel_axes))