Dumplie\Inventory\Tests\Unit\Application\InMemory\RemoveProductFromStockTest::setUp PHP Method

setUp() public method

public setUp ( )
    public function setUp()
    {
        $this->products = new InMemoryProducts([new Product(new SKU('dumplie_sku_1'), Price::fromInt(2000, 'EUR'), true)]);
        $this->removeProductFromStockHandler = new RemoveProductFromStockHandler($this->products, new Factory());
    }