<commit_before><?php
 
use Jcbl\Booliwrapper\Booli;
 
class BooliTest extends PHPUnit_Framework_TestCase {

	public function __construct()
	{
		$this->booli = new Booli();
	}
 
	public function testBooliHasMethodGetListing()
	{
		$this->assertTrue(method_exists($this->booli, 'getListing'), 'Class does not have method getListing');
	}

	public function testBooliHasMethodGetSingleListing()
	{
		$this->assertTrue(method_exists($this->booli, 'getSingleListing'), 'Class does not have method getSingleListing');
	}
<commit_msg>update tests to match new naming convention<commit_after><?php

require_once __DIR__ . '/../vendor/autoload.php';
 
use Jcbl\Booliwrapper\Booli;
use Dotenv\Dotenv;

$dotenv = new Dotenv(dirname(__DIR__));
$dotenv->load();
 
class BooliTest extends PHPUnit_Framework_TestCase {

	public function __construct()
	{
		$this->booli = new Booli(getenv('CALLER_ID'), getenv('API_KEY'));
	}
 
	public function testBooliHasMethodListing()
	{
		$this->assertTrue(method_exists($this->booli, 'listing'), 'Class does not have method listing');
	}

	public function testBooliHasMethodSingle()
	{
		$this->assertTrue(method_exists($this->booli, 'single'), 'Class does not have method single');
	}

{'fraction_non_alphanumeric': 0.130686517783292, 'fraction_numerical': 0.0, 'mean_word_length': 5.875, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 14, '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': '6917845', 'n_tokens_mistral': 415, 'n_tokens_neox': 394, 'n_words': 86}