def METHOD_NAME(self):
    """Import a model resource to test operation tracing."""
    gen_path = os.path.join(smtk.testing.DATA_DIR,
                            'model/3d/genesis/filling1.gen')
    import_op = smtk.session.vtk.Import.create()
    import_op.parameters().findFile('filename').setValue(gen_path)
    # Demonstrate/test use of safeOperate() instead of operate():
    resource = None
    def handler(op, result):
        nonlocal resource
        resource = smtk.model.Resource.CastTo(
            result.find('resource').value())
    outcome = import_op.safeOperate(handler)
    print('Outcome = ', outcome)
    self.assertEqual(outcome, smtk.operation.Operation.Outcome.SUCCEEDED,
                     'Failed to import model file {}'.format(gen_path))
    print('Resource is ', resource)
    return resource