protected functiontearDownProphecy() : void {
if (null !== $this->prophet && !$this->prophecyAssertionsCounted) {
// Some Prophecy assertions may have been done in tests themselves even when a failure happened before checking mock objects.$this->countProphecyAssertions();
}
$this->prophet = null;
}