public function testSortHelper($plugin_id_1,
$plugin_id_2,
$expected) { $this->
setupPluginCollection($this->
any());
if ($expected != 0
) { $expected =
$expected > 0 ? 1 : -1;
} $this->
assertEquals($expected,
$this->defaultPluginCollection->
sortHelper($plugin_id_1,
$plugin_id_2));
} /**
* @covers ::getConfiguration
*/
public function testGetConfiguration() { $this->
setupPluginCollection($this->
exactly(3
));
// The expected order matches $this->config.
$expected =
['banana', 'cherry', 'apple'
];
$config =
$this->defaultPluginCollection->
getConfiguration();