'large' => 'large',
],
],
],
[ 'breakpoint_id' => 'test_breakpoint2',
'multiplier' => '1x',
'image_mapping_type' => 'image_style',
'image_mapping' => 'thumbnail',
],
];
$this->
assertEquals($expected,
$entity->
getImageStyleMappings());
} /**
* @covers ::addImageStyleMapping
* @covers ::removeImageStyleMappings
*/
public function testRemoveImageStyleMappings() { $entity =
new ResponsiveImageStyle([''
]);
$entity->
addImageStyleMapping('test_breakpoint', '1x',
[ 'image_mapping_type' => 'image_style',
'image_mapping' => 'large',
]);