ConsoleArrayInputFactoryTest.php 567 B

1234567891011121314151617181920212223242526
  1. <?php
  2. /**
  3. * Copyright © 2016 Magento. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. use Magento\Composer\ConsoleArrayInputFactory;
  7. class ConsoleArrayInputFactoryTest extends \PHPUnit\Framework\TestCase
  8. {
  9. /**
  10. * @var ConsoleArrayInputFactory
  11. */
  12. protected $factory;
  13. protected function setUp()
  14. {
  15. $this->factory = new ConsoleArrayInputFactory();
  16. }
  17. public function testCreate()
  18. {
  19. $this->assertInstanceOf(\Symfony\Component\Console\Input\ArrayInput::class, $this->factory->create([]));
  20. }
  21. }