<?php
/**
 * Copyright © 2016 Magento. All rights reserved.
 * See COPYING.txt for license details.
 */
namespace Magento\Catalog\Test\Unit\Ui\DataProvider\Product\Form\Modifier;

use Magento\Catalog\Ui\DataProvider\Product\Form\Modifier\ScheduleDesignUpdate;

/**
 * Class ScheduleDesignUpdateTest
 */
class ScheduleDesignUpdateTest extends AbstractModifierTest
{
    /**
     * {@inheritdoc}
     */
    protected function createModel()
    {
        return $this->objectManager->getObject(ScheduleDesignUpdate::class, [
            'arrayManager' => $this->arrayManagerMock,
        ]);
    }

    public function testModifyMeta()
    {
        $this->assertSame([], $this->getModel()->modifyMeta([]));
    }

    public function testModifyData()
    {
        $this->assertSame(['data_key' => 'data_value'], $this->getModel()->modifyData(['data_key' => 'data_value']));
    }
}
