<commit_before><?php
/**
 * This file is part of the PHP Rebilly API package.
 *
 * (c) 2015 Rebilly SRL
 *
 * For the full copyright and license information, please view the LICENSE.md
 * file that was distributed with this source code.
 */

namespace Rebilly\Tests\Api;

use Rebilly\Entities\BankAccount;
use Rebilly\Rest\Collection;

/**
 * Class BankAccountTest.
 *
 * @author <NAME> <<EMAIL>>
 */
class BankAccountTest extends TestCase
{
    /**
     * @test
     */
    public function searchTheContactTests()
    {
        $client = $this->getClient();

        $contacts = $client->contacts()->search();

        $this->assertInstanceOf(Collection::class, $contacts);
        $this->assertGreaterThan(0, count($contacts));

        return $contacts[0];
    }

    /**
     * @test
     */
    public function createTheCustomer()
    {
        $client = $this->getClient();

        $form = new BankAccount();<commit_msg>fix tests<commit_after><?php
/**
 * This file is part of the PHP Rebilly API package.
 *
 * (c) 2015 Rebilly SRL
 *
 * For the full copyright and license information, please view the LICENSE.md
 * file that was distributed with this source code.
 */

namespace Rebilly\Tests\Api;

use Rebilly\Entities\BankAccount;
use Rebilly\Rest\Collection;

/**
 * Class BankAccountTest.
 *
 * @author <NAME> <<EMAIL>>
 */
class BankAccountTest extends TestCase
{
    /**
     * @test
     */
    public function searchBankAccount()
    {
        $client = $this->getClient();

        $bankAccounts = $client->bankAccounts()->search();

        $this->assertInstanceOf(Collection::class, $bankAccounts);
        $this->assertGreaterThan(0, count($bankAccounts));

        return $bankAccounts[0];
    }

    /**
     * @test
     */
    public function createBankAccount()
    {
        $client = $this->getClient();

        $form = new BankAccount();
{'fraction_non_alphanumeric': 0.1349036402569593, 'fraction_numerical': 0.006423982869379015, 'mean_word_length': 2.798780487804878, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 21, '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': '6693537', 'n_tokens_mistral': 562, 'n_tokens_neox': 557, 'n_words': 144}