// File: /workspace/github_c_makefile_star2_O2/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 %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
leaq 0x3eef(%rip), %r12      # 0x816c
movq %r12, 0x8f0c(%rip)      # 0xd190
leaq 0x8e95(%rip), %rbx      # 0xd120
leaq 0x3f0c(%rip), %r14      # 0x819e
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1705
movq %rbx, %rdi
callq 0x1552
movzbl %al, %esi
pushq $0x1
popq %r15
pushq $0x14
popq %rbp
movl $0x1f4, %ecx            # imm = 0x1F4
movq %r15, %rdi
xorl %edx, %edx
movl %ebp, %r8d
callq 0x507b
movq %rbx, %rdi
callq 0x1556
movl $0x1f5, %ecx            # imm = 0x1F5
movq %r12, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0x5a58
leaq 0x3ec0(%rip), %r12      # 0x81a2
movq %r12, 0x8ea7(%rip)      # 0xd190
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1705
movq %rbx, %rdi
callq 0x1552
movzbl %al, %esi
movl $0x1fa, %ecx            # imm = 0x1FA
movq %r15, %rdi
xorl %edx, %edx
movl %ebp, %r8d
callq 0x507b
movq %rbx, %rdi
callq 0x1556
movl $0x1fb, %ecx            # imm = 0x1FB
movq %r12, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0x5a58
leaq 0x3e8c(%rip), %r12      # 0x81be
movq %r12, 0x8e57(%rip)      # 0xd190
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1705
movq %rbx, %rdi
callq 0x1552
movzbl %al, %esi
movl $0x201, %ecx            # imm = 0x201
movq %r15, %rdi
xorl %edx, %edx
movl %ebp, %r8d
callq 0x507b
movq %rbx, %rdi
callq 0x1556
movl $0x202, %ecx            # imm = 0x202
movq %r12, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0x5a58
leaq 0x3e54(%rip), %r12      # 0x81d6
movq %r12, 0x8e07(%rip)      # 0xd190
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1705
movq %rbx, %rdi
callq 0x1552
movzbl %al, %esi
movl $0x208, %ecx            # imm = 0x208
movq %r15, %rdi
xorl %edx, %edx
movl %ebp, %r8d
callq 0x507b
movq %rbx, %rdi
callq 0x1556
movl $0x209, %ecx            # imm = 0x209
movq %r12, %rdi
movq %rax, %rsi
xorl %edx, %edx
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x5a58