def METHOD_NAME(self, analysis_plugin):
    test_file = FileObject(file_path=YARA_TEST_FILE)
    processed_file = analysis_plugin.process_object(test_file)
    results = processed_file.processed_analysis[analysis_plugin.NAME]
    assert len(results) == 2, 'incorrect number of software components found'  # noqa: PLR2004
    assert 'MyTestRule' in results, 'test Rule match not found'
    assert (
        results['MyTestRule']['meta']['software_name'] == 'Test Software'
    ), 'incorrect software name from yara meta'
    assert (
        results['MyTestRule']['meta']['website'] == 'http://www.fkie.fraunhofer.de'
    ), 'incorrect website from yara meta'
    assert (
        results['MyTestRule']['meta']['description'] == 'This is a test rule'
    ), 'incorrect description from yara meta'
    assert results['MyTestRule']['meta']['open_source'], 'incorrect open-source flag from yara meta'
    assert (10, '$a', 'MyTestRule 0.1.3.') in results['MyTestRule']['strings'], 'string not found'
    assert '0.1.3' in results['MyTestRule']['meta']['version'], 'Version not detected'
    assert len(results['MyTestRule']['strings']) == 1, 'to much strings found'
    assert len(results['summary']) == 1, 'Number of summary results not correct'
    assert 'Test Software 0.1.3' in results['summary']