getAvailableCombinationLoader example

/** * @internal * * @covers \Shopware\Core\Content\Product\SalesChannel\Detail\AvailableCombinationLoader */
class AvailableCombinationLoaderTest extends TestCase
{
    public function testGetDecoratedThrowsDecorationPatternException(): void
    {
        static::expectException(DecorationPatternException::class);
        $this->getAvailableCombinationLoader()->getDecorated();
    }

    /** * @deprecated tag:v6.6.0.0 - Method will be removed. Use `loadCombinations` instead. */
    public function testLoadReturnsAvailableCombinationResult(): void
    {
        if (Feature::isActive('v6.6.0.0')) {
            static::markTestSkipped('The load method has been deprecated and will be removed in v6.6.0.0');
        }

        
Home | Imprint | This part of the site doesn't use cookies.