public function testGetAllOptionsWithImageSizes()
{
$this->expectEvent(ContaoCoreEvents::IMAGE_SIZES_ALL);
$this->expectExampleImageSizes();
$options = $this->imageSizes->getAllOptions();
$this->assertArraySubset($GLOBALS['TL_CROP'], $options);
$this->assertArrayHasKey('image_sizes', $options);
$this->assertArrayHasKey('42', $options['image_sizes']);
}