LiteralTest.php 578 B

123456789101112131415161718192021222324
  1. <?php
  2. /*
  3. * This file is part of Composer.
  4. *
  5. * (c) Nils Adermann <naderman@naderman.de>
  6. * Jordi Boggiano <j.boggiano@seld.be>
  7. *
  8. * For the full copyright and license information, please view the LICENSE
  9. * file that was distributed with this source code.
  10. */
  11. namespace Composer\Test\DependencyResolver;
  12. use Composer\DependencyResolver\Literal;
  13. use Composer\DependencyResolver\MemoryPackage;
  14. class SolvableTest extends \PHPUnit_Framework_TestCase
  15. {
  16. public function testSolvable()
  17. {
  18. $literal = new Literal(new MemoryPackage('foo', '1'), true);
  19. }
  20. }