Няма описание

AbstractVersionConstraintTest.php 790B

1234567891011121314151617181920212223242526
  1. <?php
  2. /*
  3. * This file is part of PharIo\Version.
  4. *
  5. * (c) Arne Blankerts <arne@blankerts.de>, Sebastian Heuer <sebastian@phpeople.de>, Sebastian Bergmann <sebastian@phpunit.de>
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. namespace PharIo\Version;
  11. use PHPUnit\Framework\TestCase;
  12. /**
  13. * @covers \PharIo\Version\AbstractVersionConstraint
  14. */
  15. class AbstractVersionConstraintTest extends TestCase {
  16. public function testAsString() {
  17. /** @var AbstractVersionConstraint|\PHPUnit_Framework_MockObject_MockObject $constraint */
  18. $constraint = $this->getMockForAbstractClass(AbstractVersionConstraint::class, ['foo']);
  19. $this->assertSame('foo', $constraint->asString());
  20. }
  21. }