// File: /workspace/github_c_makefile_star2_O1/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 0x3cee(%rip), %r15      # 0x818c
movq %r15, 0x7ceb(%rip)      # 0xc190
leaq 0x7c74(%rip), %rbx      # 0xc120
leaq 0x3d0b(%rip), %r14      # 0x81be
movq %rbx, %rdi
movq %r14, %rsi
callq 0x175d
movq %rbx, %rdi
callq 0x1584
movzbl %al, %esi
movl $0x1, %edi
movl $0x1f4, %ecx            # imm = 0x1F4
xorl %edx, %edx
movl $0x14, %r8d
callq 0x540d
movq %rbx, %rdi
callq 0x1588
movl $0x1f5, %ecx            # imm = 0x1F5
movq %r15, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0x5dd3
leaq 0x3cc1(%rip), %r15      # 0x81c2
movq %r15, 0x7c88(%rip)      # 0xc190
movq %rbx, %rdi
movq %r14, %rsi
callq 0x175d
movq %rbx, %rdi
callq 0x1584
movzbl %al, %esi
movl $0x1, %edi
movl $0x1fa, %ecx            # imm = 0x1FA
xorl %edx, %edx
movl $0x14, %r8d
callq 0x540d
movq %rbx, %rdi
callq 0x1588
movl $0x1fb, %ecx            # imm = 0x1FB
movq %r15, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0x5dd3
leaq 0x3c88(%rip), %r15      # 0x81de
movq %r15, 0x7c33(%rip)      # 0xc190
movq %rbx, %rdi
movq %r14, %rsi
callq 0x175d
movq %rbx, %rdi
callq 0x1584
movzbl %al, %esi
movl $0x1, %edi
movl $0x201, %ecx            # imm = 0x201
xorl %edx, %edx
movl $0x14, %r8d
callq 0x540d
movq %rbx, %rdi
callq 0x1588
movl $0x202, %ecx            # imm = 0x202
movq %r15, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0x5dd3
leaq 0x3c4b(%rip), %r15      # 0x81f6
movq %r15, 0x7bde(%rip)      # 0xc190
movq %rbx, %rdi
movq %r14, %rsi
callq 0x175d
movq %rbx, %rdi
callq 0x1584
movzbl %al, %esi
movl $0x1, %edi
movl $0x208, %ecx            # imm = 0x208
xorl %edx, %edx
movl $0x14, %r8d
callq 0x540d
movq %rbx, %rdi
callq 0x1588
movl $0x209, %ecx            # imm = 0x209
movq %r15, %rdi
movq %rax, %rsi
xorl %edx, %edx
popq %rbx
popq %r14
popq %r15
jmp 0x5dd3