def METHOD_NAME(core_manager):
    core_manager.core_running = True
    core_manager.shutting_down = True
    core_manager.check_core_api_port()
    assert not core_manager.process_manager.current_process.get_core_process.called