class ProductBoxCmsElementResolverTest extends TestCase
{ private ProductBoxCmsElementResolver
$boxCmsElementResolver;
private MockObject&SystemConfigService
$systemConfig;
protected function setUp(): void
{ $this->systemConfig =
$this->
createMock(SystemConfigService::
class);
$this->boxCmsElementResolver =
new ProductBoxCmsElementResolver($this->systemConfig
);
} public function testGetType(): void
{ static::
assertSame('product-box',
$this->boxCmsElementResolver->
getType());
} public function testCollectWithEmptyConfig(): void
{ $resolverContext =
new ResolverContext($this->
createMock(SalesChannelContext::
class),
new Request());