def METHOD_NAME(resources_mock):
    tag_tool = TagTool(
        TagsTool(), name=None, pk=None, priority=None, project=None, slug=7
    )
    resources_mock.configure_mock(
        **{
            "return_value.get_linked_resources"
            ".return_value.order_by.return_value": 23
        }
    )
    # linked_resources returns
    # resources.get_linked_resources().order_by()
    assert tag_tool.linked_resources == 23
    # get_linked_resources was called with slug
    linked_resources_mock = resources_mock.return_value.get_linked_resources
    assert list(linked_resources_mock.call_args) == [(7,), {}]
    # order_by is called with 'path'
    order_by_mock = linked_resources_mock.return_value.order_by
    assert list(order_by_mock.call_args) == [("path",), {}]