<commit_before><?php

namespace Franklin\test\Twitter\Followers\test;

use
	Franklin\test\Twitter\Followers\Followers,
	Franklin\test\Twitter\Followers\Config
	;

/**
 * @group Tests
 * @group Twitter
 */
class FollowersTest extends \PHPUnit_Framework_TestCase
{
	public function setUp()
	{
		$config = new Config(array(
			'username' => 'ephigenia',
		));
		$this->fixture = new Followers($config);
	}
	
	public function usernames()
	{
		return array(
			array('ephigenia'),
			array('berlinergazette'),
			array('bzberlin')
		);
	}

	/**
	 * @dataProvider usernames
	 */
	public function testRun($username, $expectedCount = 100)
	{
		$this->fixture->config['username'] = $username;
		$result = $this->fixture->run();<commit_msg>adds uppercase twitter username for twitter follower test<commit_after><?php

namespace Franklin\test\Twitter\Followers\test;

use
	Franklin\test\Twitter\Followers\Followers,
	Franklin\test\Twitter\Followers\Config
	;

/**
 * @group Tests
 * @group Twitter
 */
class FollowersTest extends \PHPUnit_Framework_TestCase
{
	public function setUp()
	{
		$config = new Config(array(
			'username' => 'ephigenia',
		));
		$this->fixture = new Followers($config);
	}
	
	public function usernames()
	{
		return array(
			array('ephigenia'),
			array('berlinergazette'),
			array('bzberlin'),
			array('CDU'),
		);
	}

	/**
	 * @dataProvider usernames
	 */
	public function testRun($username, $expectedCount = 100)
	{
		$this->fixture->config['username'] = $username;
		$result = $this->fixture->run();
{'fraction_non_alphanumeric': 0.15374507227332457, 'fraction_numerical': 0.003942181340341655, 'mean_word_length': 4.288194444444445, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 15, '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': '2889355', 'n_tokens_mistral': 569, 'n_tokens_neox': 514, 'n_words': 95}