/**
* @covers ::setInstanceConfiguration
*/
public function testSetInstanceConfiguration() { $this->
setupPluginCollection($this->
exactly(3
));
$expected =
[ 'id' => 'cherry',
'key' => 'value',
'custom' => 'bananas',
];
$this->defaultPluginCollection->
setInstanceConfiguration('cherry',
$expected);
$config =
$this->defaultPluginCollection->
getConfiguration();
$this->
assertSame($expected,
$config['cherry'
]);
} /**
* @covers ::count
*/
public function testCount() { $this->
setupPluginCollection();
$this->
assertCount(3,
$this->defaultPluginCollection
);
}