public function testSearchProfile() { $profiles = array('files' => array(), 'all' => array(), 'advanced' => array()); $expected = array('files', 'translation', 'all', 'advanced'); TranslateHooks::searchProfile($profiles); $this->assertEquals($expected, array_keys($profiles)); }