/**
* Registers that this shutdown function has been called.
*/
public function shutdownFunction2() { self::
$shutdownCalled[] = 'shutdownFunction2';
} /**
* {@inheritdoc}
*/
protected function assertPostConditions(): void
{ parent::
assertPostConditions();
$this->
assertSame($this->expectedShutdownCalled, self::
$shutdownCalled);
}}