public function setUp()
{
System::setContainer($this->mockContainerWithContaoScopes());
require_once __DIR__ . '/../../src/Resources/contao/config/config.php';
$this->connection = $this->getMock('Doctrine\\DBAL\\Connection', ['fetchAll'], [], '', false);
$this->eventDispatcher = $this->getMock('Symfony\\Component\\EventDispatcher\\EventDispatcherInterface');
$this->imageSizes = new ImageSizes($this->connection, $this->eventDispatcher, $this->mockContaoFramework());
}