prepareForTests(); } protected function tearDown(): void { $this->addToAssertionCount(Mockery::getContainer()->mockery_getExpectationCount()); Mockery::close(); parent::tearDown(); } }