public function testAddLocationsToClear()
{
$contentInfo = new ContentInfo();
$event = new ContentCacheClearEvent($contentInfo);
$locations = [new Location(), new Location()];
$event->addLocationToClear($locations[0]);
$event->addLocationToClear($locations[1]);
$this->assertSame($locations, $event->getLocationsToClear());
}