public static function verify()
    {
        $mocks = self::$outstanding_shmocks;
        self::$outstanding_shmocks = [];
        foreach ($mocks as $mock) {
            $mock->verify();
        }
    }