def METHOD_NAME(self, write_to_text_file,
                                            safe_dump, compose_dict, log):
    multi_fs_handler = self.multi_fs_handler
    compose_dict.return_value = COMPOSE_DICT
    safe_dump.return_value = COMPOSE_YAML
    log.new_host_log_path.return_value = HOSTLOG_PATH
    multi_fs_handler.make_docker_compose(ENVVARS_MAP)
    compose_dict.assert_called_once_with(DOCKERRUN, dummy.DOCKER_PROJ_PATH,
                                         HOSTLOG_PATH, ENVVARS_MAP)
    safe_dump.assert_called_once_with(COMPOSE_DICT, default_flow_style=False)
    write_to_text_file.assert_called_once_with(location=dummy.COMPOSE_PATH, data=COMPOSE_YAML)