<commit_before><?php
namespace Axstrad\Component\WorkForce\Tests\Unit\Team;

use Axstrad\Component\WorkForce\Team\PriorityDelegator;
use Axstrad\Component\WorkForce\Test\TeamStorageAccessor;
use Axstrad\Component\WorkForce\Test\TestCase;


/**
 * @uses Axstrad\Component\WorkForce\Test\TeamStorageAccessor
 * @uses Axstrad\Component\WorkForce\Test\TestCase
 * @covers Axstrad\Component\WorkForce\Team\PriorityDelegator::__construct
 */
class PriorityDelegatorTest extends TestCase
{
    public function setUp()
    {
        $this->fixture = new PriorityDelegator();
    }

    /**
     * @covers Axstrad\Component\WorkForce\Team\PriorityDelegator::addWorker
     */
    public function testCanAddWorker()
    {
        $this->fixture->addWorker(
            $mock = $this->createMockWorker()<commit_msg>Add TestCase to test group 'unit'<commit_after><?php
namespace Axstrad\Component\WorkForce\Tests\Unit\Team;

use Axstrad\Component\WorkForce\Team\PriorityDelegator;
use Axstrad\Component\WorkForce\Test\TeamStorageAccessor;
use Axstrad\Component\WorkForce\Test\TestCase;


/**
 * @covers Axstrad\Component\WorkForce\Team\PriorityDelegator::__construct
 * @group unit
 * @uses Axstrad\Component\WorkForce\Test\TeamStorageAccessor
 * @uses Axstrad\Component\WorkForce\Test\TestCase
 */
class PriorityDelegatorTest extends TestCase
{
    public function setUp()
    {
        $this->fixture = new PriorityDelegator();
    }

    /**
     * @covers Axstrad\Component\WorkForce\Team\PriorityDelegator::addWorker
     */
    public function testCanAddWorker()
    {
        $this->fixture->addWorker(
            $mock = $this->createMockWorker()
{'fraction_non_alphanumeric': 0.11442483262325015, 'fraction_numerical': 0.0, 'mean_word_length': 4.074074074074074, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, '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': '660667', 'n_tokens_mistral': 508, 'n_tokens_neox': 501, 'n_words': 72}