def METHOD_NAME(self):
    """Get a list of calls made to this mocked command.
    This relies on the default script content, so it will return an
    empty list if you specified a different content parameter.
    For each time the command was run, the list will contain a dictionary
    with keys argv, env and cwd.
    """
    if recording_dir is None:
        return []
    if not os.path.isfile(self.recording_file):
        return []
    with open(self.recording_file, 'r') as f:
        # 1E is ASCII record separator, last chunk is empty
        chunks = f.read().split('\x1e')[:-1]
    return [json.loads(c) for c in chunks]