def METHOD_NAME(self, mocker, mock_rabbit_adaptor):
    processor = LookupResultProcessor(mock_rabbit_adaptor,
                                      "http://cern.analysis.ch:5000/")
    dataset_file = DatasetFile(request_id="BR549",
                               paths=["/foo/bar1.root", "/foo/bar2.root"],
                               adler32='12345',
                               file_size=1024,
                               file_events=500)
    request = self._generate_transform_request()
    request.result_destination = 'object-store'
    dataset_file.id = 42
    dataset_file.save_to_db = mocker.Mock()
    from servicex.models import TransformRequest
    mock_transform_request_add_a_file = mocker.patch.object(
        TransformRequest,
        'add_a_file')
    processor.add_file_to_dataset(request, dataset_file)
    mock_transform_request_add_a_file.assert_called_with(request.request_id)
    mock_rabbit_adaptor.basic_publish.assert_called_with(
        exchange='transformation_requests',
        routing_key='BR549',
        body=json.dumps(
            {"request-id": 'BR549',
             "file-id": 42,
             "columns": 'electron.eta(), muon.pt()',
             "paths": ["/foo/bar1.root", "/foo/bar2.root"],
             "tree-name": "Events",
             "service-endpoint":
                 "http://cern.analysis.ch:5000/servicex/internal/transformation/BR549",
             "chunk-size": "1000",
             'result-destination': 'object-store',
             "result-format": "arrow"
             }))