use Shopware\Core\Test\Stub\Rule\TrueRule;
/**
* @covers \Shopware\Core\Framework\Rule\Container\XorRule
*
* @internal
*/
class XorRuleTest extends TestCase
{ public function testSingleTrueRule(): void
{ $rule =
new XorRule([ new FalseRule(),
new TrueRule(),
new FalseRule(),
]);
static::
assertTrue( $rule->
match( new CheckoutRuleScope( $this->
createMock(SalesChannelContext::
class) ) ) );