PUGX\StatsBundle\Tests\FunctionalControllerTest::testOnLatestUnstableActionStatisticShouldBeCreated PHP Method

testOnLatestUnstableActionStatisticShouldBeCreated() public method

    public function testOnLatestUnstableActionStatisticShouldBeCreated()
    {
        $client = static::createClient();
        static::$kernel->getContainer()->set('packagist_client', $this->packagistClient);
        ob_start();
        $client->request('GET', '/pugx/badge-poser/v/unstable');
        ob_clean();
        $this->assertTrue($client->getResponse()->isSuccessful());
        $this->checkStatsCalls($client, 'pugx/badge-poser', 'versionAction');
        ob_end_flush();
    }