<commit_before><?php

declare(strict_types=1);

namespace Mihaeu\PhpDependencies;

class DependencyHelperTest extends \PHPUnit_Framework_TestCase
{
    public function testConvert()
    {
        $expected = (new DependencyPairCollection())
            ->add(new DependencyPair(new Clazz('DepA', new Namespaze(['A'])), new Clazz('DepB', new Namespaze(['B']))))
            ->add(new DependencyPair(new Clazz('DepC', new Namespaze(['C'])), new Clazz('DepD', new Namespaze(['D']))))
        ;
        $this->assertEquals($expected, DependencyHelper::convert('
            A\\DepA --> B\\DepB
            C\\DepC --> D\\DepD
        '));
    }
}<commit_msg>Add covers annotation<commit_after><?php

declare(strict_types=1);

namespace Mihaeu\PhpDependencies;

/**
 * @covers Mihaeu\PhpDependencies\DependencyHelper
 */
class DependencyHelperTest extends \PHPUnit_Framework_TestCase
{
    public function testConvert()
    {
        $expected = (new DependencyPairCollection())
            ->add(new DependencyPair(new Clazz('DepA', new Namespaze(['A'])), new Clazz('DepB', new Namespaze(['B']))))
            ->add(new DependencyPair(new Clazz('DepC', new Namespaze(['C'])), new Clazz('DepD', new Namespaze(['D']))))
        ;
        $this->assertEquals($expected, DependencyHelper::convert('
            A\\DepA --> B\\DepB
            C\\DepC --> D\\DepD
        '));
    }
}
{'fraction_non_alphanumeric': 0.168, 'fraction_numerical': 0.0014545454545454545, 'mean_word_length': 3.16969696969697, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 13, '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': '3285968', 'n_tokens_mistral': 434, 'n_tokens_neox': 416, 'n_words': 80}