def METHOD_NAME(self):
    """Test resulst are gathered from multiple threads using ThreadDataLoader."""
    ds = Dataset([self.test_image] * 4, self.scale)
    dl = ThreadDataLoader(ds, batch_size=4, num_workers=4, use_thread_workers=True)
    with WorkflowProfiler() as wp:
        batch = first(dl)
    self.assertSequenceEqual(batch.shape, (4, 1, 16, 16, 16))
    results = wp.get_results()
    self.assertSequenceEqual(list(results), [self.scale_call_name])
    prs = results[self.scale_call_name]
    self.assertEqual(len(prs), 4)