'Given something that defines a namespace cls (class, object,
module), and a (hopefully unique) name, will create a
mock_class object with that name and that possesses all
the public attributes of cls.  default_ret_val sets the
default_ret_val on all methods of the cls mock.'

def create_mock_class(self, cls, name, default_ret_val=None):

    return mock_class(cls, name, default_ret_val, self.__record_call, self.__method_playback)
