def restore_original_object()

in doubles/proxy.py [0:0]


    def restore_original_object(self):
        """Remove all stubs from an object.

        Removes the proxy methods applied to each method double and replaces them with the original
        values.
        """

        for method_double in self._method_doubles.values():
            method_double.restore_original_method()