def METHOD_NAME(request_manager: MagicMock, core_manager: CoreManager):
    core_manager.core_running = True
    core_manager.core_started_at = time.time()
    api_port = core_manager.process_manager.current_process.get_core_process().api_port
    core_manager.check_core_api_port()
    assert core_manager.process_manager.current_process.get_core_process.called
    assert not core_manager.check_core_api_port_timer.start.called
    assert core_manager.api_port == api_port
    assert request_manager.set_api_port.called_once_with(api_port)