<commit_before><?php

namespace Oro\Bundle\WorkflowBundle\Tests\Functional\Model\Filter;

use Oro\Bundle\TestFrameworkBundle\Entity\TestActivity;
use Oro\Bundle\TestFrameworkBundle\Entity\WorkflowAwareEntity;
use Oro\Bundle\TestFrameworkBundle\Tests\Functional\TestActivityScopeProvider;

use Oro\Bundle\WorkflowBundle\Event\WorkflowChangesEvent;
use Oro\Bundle\WorkflowBundle\Event\WorkflowEvents;
use Oro\Bundle\WorkflowBundle\Model\Workflow;
use Oro\Bundle\WorkflowBundle\Tests\Functional\DataFixtures\LoadTestActivitiesForScopes;
use Oro\Bundle\WorkflowBundle\Tests\Functional\WorkflowTestCase;

class WorkflowDefinitionScopesRegistryFilterTest extends WorkflowTestCase
{
    const WORKFLOW_SCOPES_CONFIG_DIR = '/Tests/Functional/DataFixtures/WithScopesAndWithout';

    /**
     * @var TestActivityScopeProvider<commit_msg>BAP-12486 : Update functional tests in WorkflowBundle - dbisolation fixes<commit_after><?php

namespace Oro\Bundle\WorkflowBundle\Tests\Functional\Model\Filter;

use Oro\Bundle\TestFrameworkBundle\Entity\TestActivity;
use Oro\Bundle\TestFrameworkBundle\Entity\WorkflowAwareEntity;
use Oro\Bundle\TestFrameworkBundle\Tests\Functional\TestActivityScopeProvider;

use Oro\Bundle\WorkflowBundle\Event\WorkflowChangesEvent;
use Oro\Bundle\WorkflowBundle\Event\WorkflowEvents;
use Oro\Bundle\WorkflowBundle\Model\Workflow;
use Oro\Bundle\WorkflowBundle\Tests\Functional\DataFixtures\LoadTestActivitiesForScopes;
use Oro\Bundle\WorkflowBundle\Tests\Functional\WorkflowTestCase;

/**
 * @dbIsolation
 */
class WorkflowDefinitionScopesRegistryFilterTest extends WorkflowTestCase
{
    const WORKFLOW_SCOPES_CONFIG_DIR = '/Tests/Functional/DataFixtures/WithScopesAndWithout';

    /**
     * @var TestActivityScopeProvider
{'fraction_non_alphanumeric': 0.08620689655172414, 'fraction_numerical': 0.0028735632183908046, 'mean_word_length': 7.212264150943396, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6993190', 'n_tokens_mistral': 532, 'n_tokens_neox': 523, 'n_words': 63}