public function expectDeprecationWithIdentifier(string $identifier) : void { $this->doctrineDeprecationsExpectations[$identifier] = Deprecation::getTriggeredDeprecations()[$identifier] ?? 0; }