public static function getRobotArray()
{
return [Language::get('select') => 'select', Language::get('all') => 1, Language::get('index') => 2, Language::get('follow') => 3, Language::get('index_no') => 4, Language::get('follow_no') => 5, Language::get('none') => 0];
}
/** * testGetRobotArray * * @since 3.0.0 * * @param array $expectArray * * @dataProvider providerOption */ public function testGetRobotArray($expectArray = []) { /* actual */ $actualArray = Helper\Option::getRobotArray(); /* compare */ $this->assertEquals($expectArray['robot'], $actualArray); }