<commit_before><?php

declare(strict_types=1);
namespace ProophTest\PDO\SnapshotStore\Container;

use Interop\Container\ContainerInterface;
use PHPUnit\Framework\TestCase;
use Prooph\PDO\SnapshotStore\Container\PDOSnapshotStoreFactory;
use Prooph\PDO\SnapshotStore\PDOSnapshotStore;
use ProophTest\PDO\SnapshotStore\TestUtil;

class PDOSnapshotStoreFactoryTest extends TestCase
{
    /**
     * @test
     */
    public function it_creates_adapter_via_connection_service(): void
    {
        $config['prooph']['pdo_snapshot_store']['default'] = [<commit_msg>add missing license header<commit_after><?php
/**
 * This file is part of the prooph/pdo-snapshot-store.
 * (c) 2016-2016 prooph software GmbH <<EMAIL>>
 * (c) 2016-2016 <NAME> <<EMAIL>>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

declare(strict_types=1);

namespace ProophTest\PDO\SnapshotStore\Container;

use Interop\Container\ContainerInterface;
use PHPUnit\Framework\TestCase;
use Prooph\PDO\SnapshotStore\Container\PDOSnapshotStoreFactory;
use Prooph\PDO\SnapshotStore\PDOSnapshotStore;
use ProophTest\PDO\SnapshotStore\TestUtil;

class PDOSnapshotStoreFactoryTest extends TestCase
{
    /**
     * @test
     */
    public function it_creates_adapter_via_connection_service(): void
    {
        $config['prooph']['pdo_snapshot_store']['default'] = [
{'fraction_non_alphanumeric': 0.10732054015636106, 'fraction_numerical': 0.01279317697228145, 'mean_word_length': 5.148471615720524, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 8, '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': '3306447', 'n_tokens_mistral': 445, 'n_tokens_neox': 430, 'n_words': 87}