def METHOD_NAME(self):
    # put the user defined test function
    shutil.copyfile(self.custom_asertions, os.path.join(f'{FileSystem.PIPERIDER_ASSERTION_PLUGIN_PATH}',
                                                        f'{self.current_module_name}'))
    # use the function in the assertion configuration
    assertions = f"""
    foobarbar:
      tests:
      - name: user-defined-test-test
        assert:
          param1: a
          param2: b
    """
    engine = build_assertion_engine(self.project_dir, 'foobarbar', assertions)
    # invoke customized assertion
    results, exceptions = engine.evaluate_all()
    # check no exceptions
    self.assertEqual([], exceptions)
    # check result
    assertion_result = results[0].result
    self.assertEqual(dict(success=True, exceptions=None),
                     dict(success=assertion_result._success, exceptions=assertion_result._exception))
    self.assertEqual(assertion_result.actual, 'I see you')
    self.assertEqual(assertion_result.expected, {'magic_number': 5566})