<commit_before><?php

namespace Forex\Bundle\WebBundle\Tests;

use Forex\Bundle\CoreBundle\Test\WebTestCase;

class HelpControllerTest extends WebTestCase
{
    public function testHowToChooseABroker()
    {
        $client = static::createClient();
        $crawler = $client->request('GET', '/en/help/how-to-choose-a-broker');

        $this->assertResponseSuccess($client->getResponse());
    }
}<commit_msg>Function tests for help controller<commit_after><?php

namespace Forex\Bundle\WebBundle\Tests;

use Forex\Bundle\CoreBundle\Test\WebTestCase;

class HelpControllerTest extends WebTestCase
{
    public function testFaq()
    {
        $client = static::createClient();
        $crawler = $client->request('GET', '/en/help/faq');

        $this->assertResponseSuccess($client->getResponse());
    }

    public function testGettingStarted()
    {
        $client = static::createClient();
        $crawler = $client->request('GET', '/en/help/getting-started');

        $this->assertResponseSuccess($client->getResponse());
    }

    public function testHowToChooseABroker()
    {
        $client = static::createClient();
        $crawler = $client->request('GET', '/en/help/how-to-choose-a-broker');

        $this->assertResponseSuccess($client->getResponse());
    }

    public function testResidualIncode()
    {
        $client = static::createClient();
        $crawler = $client->request('GET', '/en/help/residual-income');

        $this->assertResponseSuccess($client->getResponse());
    }

    public function testEarningPotential()
    {
        $client = static::createClient();
        $crawler = $client->request('GET', '/en/help/earning-potential');

        $this->assertResponseSuccess($client->getResponse());
    }
}
{'fraction_non_alphanumeric': 0.15503432494279176, 'fraction_numerical': 0.0, 'mean_word_length': 3.4166666666666665, 'pattern_counts': {'":': 0, '<': 5, '<?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': '527466', 'n_tokens_mistral': 524, 'n_tokens_neox': 502, 'n_words': 76}