// File: /workspace/github_c_makefile_star2_O3/connycommy[P]atCmdDevice/src/test/TestProductionCode.c
// Function: test_modem_QIURC_incoming
void test_modem_QIURC_incoming(){
    cmError_t retValue;
    MockResponseExpected = CM_CMD_MOCK_QIURC_CONN_INCOMING_RESPONSE;

    retValue = cellModem_SendRaw(&cmData, "AT\r");   // solo para que funcione el test debe enviar algo
    TEST_ASSERT_EQUAL_INT32(1 ,cmIsAsyncEvent(&cmData));
    TEST_ASSERT_EQUAL_STRING(CM_CMD_MOCK_QIURC_CONN_INCOMING_RESPONSE,cmGetBufferRecv(&cmData));


    MockResponseExpected = CM_CMD_MOCK_QIURC_CONN_FULL_RESPONSE;
    retValue = cellModem_SendRaw(&cmData, "AT\r");   // solo para que funcione el test debe enviar algo
    TEST_ASSERT_EQUAL_INT32(1 ,cmIsAsyncEvent(&cmData));
    TEST_ASSERT_EQUAL_STRING(CM_CMD_MOCK_QIURC_CONN_FULL_RESPONSE,cmGetBufferRecv(&cmData));

    
    MockResponseExpected = CM_CMD_MOCK_QIURC_CONN_CLOSED_RESPONSE;

    retValue = cellModem_SendRaw(&cmData, "AT\r");   // solo para que funcione el test debe enviar algo
    TEST_ASSERT_EQUAL_INT32(1 ,cmIsAsyncEvent(&cmData));
    TEST_ASSERT_EQUAL_STRING(CM_CMD_MOCK_QIURC_CONN_CLOSED_RESPONSE,cmGetBufferRecv(&cmData));

    
    MockResponseExpected = CM_CMD_MOCK_QIURC_RECV_RESPONSE;

    retValue = cellModem_SendRaw(&cmData, "AT\r");   // solo para que funcione el test debe enviar algo
    TEST_ASSERT_EQUAL_INT32(1 ,cmIsAsyncEvent(&cmData));
    TEST_ASSERT_EQUAL_STRING(CM_CMD_MOCK_QIURC_RECV_RESPONSE,cmGetBufferRecv(&cmData));
    (void)retValue;

}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
leaq 0x3d25(%rip), %r15      # 0x818c
movq %r15, 0x7d22(%rip)      # 0xc190
leaq 0x7cab(%rip), %rbx      # 0xc120
leaq 0x3d42(%rip), %r14      # 0x81be
movq %rbx, %rdi
movq %r14, %rsi
callq 0x173d
movq %rbx, %rdi
callq 0x1563
movzbl %al, %esi
movl $0x1, %edi
movl $0x1f4, %ecx            # imm = 0x1F4
xorl %edx, %edx
movl $0x14, %r8d
callq 0x5480
movq %rbx, %rdi
callq 0x1567
movl $0x1f5, %ecx            # imm = 0x1F5
movq %r15, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0x5e70
leaq 0x3cf8(%rip), %r15      # 0x81c2
movq %r15, 0x7cbf(%rip)      # 0xc190
movq %rbx, %rdi
movq %r14, %rsi
callq 0x173d
movq %rbx, %rdi
callq 0x1563
movzbl %al, %esi
movl $0x1, %edi
movl $0x1fa, %ecx            # imm = 0x1FA
xorl %edx, %edx
movl $0x14, %r8d
callq 0x5480
movq %rbx, %rdi
callq 0x1567
movl $0x1fb, %ecx            # imm = 0x1FB
movq %r15, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0x5e70
leaq 0x3cbf(%rip), %r15      # 0x81de
movq %r15, 0x7c6a(%rip)      # 0xc190
movq %rbx, %rdi
movq %r14, %rsi
callq 0x173d
movq %rbx, %rdi
callq 0x1563
movzbl %al, %esi
movl $0x1, %edi
movl $0x201, %ecx            # imm = 0x201
xorl %edx, %edx
movl $0x14, %r8d
callq 0x5480
movq %rbx, %rdi
callq 0x1567
movl $0x202, %ecx            # imm = 0x202
movq %r15, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0x5e70
leaq 0x3c82(%rip), %r15      # 0x81f6
movq %r15, 0x7c15(%rip)      # 0xc190
movq %rbx, %rdi
movq %r14, %rsi
callq 0x173d
movq %rbx, %rdi
callq 0x1563
movzbl %al, %esi
movl $0x1, %edi
movl $0x208, %ecx            # imm = 0x208
xorl %edx, %edx
movl $0x14, %r8d
callq 0x5480
movq %rbx, %rdi
callq 0x1567
movl $0x209, %ecx            # imm = 0x209
movq %r15, %rdi
movq %rax, %rsi
xorl %edx, %edx
popq %rbx
popq %r14
popq %r15
jmp 0x5e70