public function stringIsFoundAtBeginningOfAnotherString($haystack, $needle, $comparison)
{
$expectedResult = $comparison === 'beginning' || $comparison === 'both' ? true : false;
$result = I18n\Utility::stringBeginsWith($haystack, $needle);
$this->assertEquals($expectedResult, $result);
}