public function testAssign()
 {
     $key = 'module/pluginA@real';
     $instanceId = 'notice';
     $skin = [];
     $skin = Mockery::mock('\\Xpressengine\\Skin\\SkinEntity');
     $skin->shouldReceive('getId')->andReturn('foo');
     $skin->shouldReceive('getConfig')->andReturn(['bar']);
     /** @var Mockery\MockInterface $store */
     $store = $this->getStore();
     $store->shouldReceive('setSelectedSkin')->withArgs([$key . SkinHandler::INSTANCE_DELIMITER . $instanceId, 'desktop', 'foo'])->once()->andReturnNull();
     $this->handler->setStore($store);
     $this->handler->assign([$key, $instanceId], $skin);
 }