Created
September 28, 2017 11:28
-
-
Save naydav/69c34ab05475ba7cc5280c2442328d48 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Copyright © Magento, Inc. All rights reserved. | |
* See COPYING.txt for license details. | |
*/ | |
namespace Magento\Inventory\Test\Integration; | |
use Magento\InventoryApi\Api\ReservationBuilderInterface; | |
use Magento\TestFramework\Helper\Bootstrap; | |
use PHPUnit\Framework\TestCase; | |
class ReservationValidationTest extends TestCase | |
{ | |
/** | |
* @var ReservationBuilderInterface | |
*/ | |
private $reservationBuilder; | |
protected function setUp() | |
{ | |
$this->reservationBuilder = Bootstrap::getObjectManager()->create(ReservationBuilderInterface::class); | |
} | |
public function testTypeDeclaration() | |
{ | |
$reservation = $this->reservationBuilder | |
// without any fields | |
->build(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment