// check whether the theme is no longer in the table and the associated media have been deleted
static::assertFalse($this->hasTheme($bundle)); static::assertCount(0, $this->mediaRepository->searchIds(newCriteria($ids), Context::createDefaultContext())->getIds()); }