'@param methods: Mapping of names to return values
@param callReturnValue: object __call__ should return'

def __init__(self, methods=None, callReturnValue=default):

    self.occurrences = []
    if (methods is None):
        methods = {}
    self.methods = methods
    if (callReturnValue is not default):
        self.callReturnValue = callReturnValue
