$this->configNamesMapper->
setConfigNames($config_names);
$map =
[];
foreach ($config_names as $i =>
$config_name) { $map[] =
isset($mock_return_values[$i]) ?
[$config_name,
$mock_return_values[$i]] :
[];
} $this->configMapperManager
->
expects($this->
any()) ->
method('hasTranslatable'
) ->
willReturnMap($map);
$result =
$this->configNamesMapper->
hasTranslatable();
$this->
assertSame($expected,
$result);
} /**
* Provides data for ConfigNamesMapperTest::testHasTranslatable().
*
* @return array
* An array of arrays, where each inner array has an array of values that
* the mocked configuration mapper manager should return for
* hasTranslatable() as the first value and the expected return value of
* ConfigNamesMapper::hasTranslatable() as the second value.
*/