<commit_before><?php
use ITMH\Resolver;

/**
 * Тест для класса Resolver
 */
class ResolverTest extends PHPUnit_Framework_TestCase
{
    /**
     * Test
     *
     * @see \ITMH\Resolver::resolve
     *
     * @return void
     */
    public function testResultIsArray()
    {
        $client = new SoapClient(__DIR__ . '/data/ArmPlatform.wsdl');

        $resolver = new Resolver($client->__getFunctions(), $client->__getTypes());
        $actual = $resolver->resolve('DocumentFileGet');

        self::assertTrue(is_array($actual), 'Result is not an array');
    }
}<commit_msg>Added test expected<commit_after><?php
use ITMH\Resolver;

/**
 * Тест для класса Resolver
 */
class ResolverTest extends PHPUnit_Framework_TestCase
{
    /**
     * Test
     *
     * @see \ITMH\Resolver::resolve
     *
     * @return void
     */
    public function testResultIsArray()
    {
        $client = new SoapClient(__DIR__ . '/data/ArmPlatform.wsdl');

        $resolver = new Resolver($client->__getFunctions(), $client->__getTypes());
        $actual = $resolver->resolve('DocumentFileGet');
        $expected = [
            'request'  => [
                'paper_version' => 'int'
            ],
            'response' => [
                'DocumentFileGetResponse' => [
                    'DocumentFileGetResult' => [
                        'Name' => 'string',
                        'Type' => 'string',
                        'Data' => 'base64Binary'
                    ]
                ]
            ]
        ];

        self::assertTrue(is_array($actual), 'Result is not an array');
        self::assertSame($expected, $actual);
    }
}
{'fraction_non_alphanumeric': 0.13990267639902676, 'fraction_numerical': 0.0012165450121654502, 'mean_word_length': 1.8961267605633803, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 17, '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': '77523', 'n_tokens_mistral': 478, 'n_tokens_neox': 466, 'n_words': 87}