private ProductDescriptionReviewsCmsElementResolver
$productDescriptionReviewResolver;
protected function setUp(): void
{ $productReviewRouteMock =
$this->
createMock(AbstractProductReviewRoute::
class);
$productReviewRouteMock->
method('load'
)->
willReturn( new ProductReviewRouteResponse( new EntitySearchResult('product', 0,
new ProductReviewCollection(), null,
new Criteria(), Context::
createDefaultContext()) ) );
$this->productDescriptionReviewResolver =
new ProductDescriptionReviewsCmsElementResolver( $productReviewRouteMock );
} public function testType(): void
{ static::
assertSame('product-description-reviews',
$this->productDescriptionReviewResolver->
getType());
} public function testCollect(): void
{