def METHOD_NAME(core_manager):
    core_manager.core_running = True
    core_manager.core_started_at = time.time()
    core_manager.process_manager.current_process.get_core_process.return_value = None
    core_manager.check_core_api_port()
    assert core_manager.process_manager.current_process.get_core_process.called
    assert core_manager.check_core_api_port_timer.start.called