def teardown(self):
        """Restores all doubled objects to their original state."""

        for proxy in self._proxies.values():
            proxy.restore_original_object()

        for patch in self._patches.values():
            patch.restore_original_object()