/**
* @internal
*
* @covers \Shopware\Core\Checkout\Cart\Facade\ContainerFacade
* @covers \Shopware\Core\Checkout\Cart\Facade\Traits\DiscountTrait
* @covers \Shopware\Core\Checkout\Cart\Facade\Traits\SurchargeTrait
*/
class ContainerFacadeTest extends TestCase
{ public function testPublicApiAvailable(): void
{ $facade =
$this->
rampUpFacade();
static::
assertEquals('container',
$facade->
getType());
static::
assertEquals('container',
$facade->
getId());
static::
assertEquals('container',
$facade->
getReferencedId());
static::
assertEquals(1,
$facade->
getQuantity());
static::
assertTrue($facade->
has('foo'
));
$facade->
remove('foo'
);
static::
assertFalse($facade->
has('foo'
));
static::
assertCount(0,
$facade->
products());
}