// File: /workspace/github_cpp_makefile_star2_O1/MarkOates[P]file-downloader/test_file_downloader.cpp
// Function: FileDownloader_will_set_an_error_message_of_404_when_a_file_url_does_not_exist_invoker()
BOOST_AUTO_TEST_CASE(FileDownloader_will_set_an_error_message_of_404_when_a_file_url_does_not_exist)
{
   std::string file_url = "https://www.allegro.cc/this_file_does_not_exist.png";
   std::string local_filename = "";
   FileDownloader::FileHandle handle = FileDownloader::download_file(file_url, local_filename);

   BOOST_CHECK_EQUAL("404", handle.get_error());
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x258, %rsp            # imm = 0x258
movq 0x700e(%rip), %rbx      # 0xf1d8
leaq 0x2fab(%rip), %rax      # 0xb17c
movq %rax, -0x98(%rbp)
leaq 0x2fb5(%rip), %r13      # 0xb194
movq %r13, -0x90(%rbp)
leaq -0x230(%rbp), %r14
movl $0x198, %edx            # imm = 0x198
movq %r14, %rdi
xorl %esi, %esi
callq 0x3120
movq %r14, %rdi
callq 0x32a0
leaq -0xa8(%rbp), %r15
movq %r15, -0x10(%r15)
movq $0x0, -0x8(%r15)
movb $0x0, (%r15)
leaq -0x48(%rbp), %rsi
movb $0x22, (%rsi)
movl $0x1, %edx
movq %r14, %rdi
callq 0x32c0
leaq 0x3282(%rip), %rsi      # 0xb4b8
leaq -0x230(%rbp), %rdi
movl $0x4e, %edx
callq 0x32c0
leaq 0x33a0(%rip), %rsi      # 0xb5ee
leaq -0x230(%rbp), %rdi
movl $0xe, %edx
callq 0x32c0
leaq -0x228(%rbp), %rsi
leaq -0x48(%rbp), %rdi
callq 0x3140
leaq -0xb8(%rbp), %rdi
leaq -0x48(%rbp), %r14
movq %r14, %rsi
callq 0x3190
movq (%r14), %rdi
leaq -0x38(%rbp), %r12
cmpq %r12, %rdi
je 0x829a
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3080
movq -0xb8(%rbp), %rax
leaq -0x280(%rbp), %rcx
movq %rax, (%rcx)
addq -0xb0(%rbp), %rax
movq %rax, 0x8(%rcx)
leaq -0x98(%rbp), %rsi
movl $0x5f, %edx
movq %rbx, %rdi
callq 0x3100
movq -0xb8(%rbp), %rdi
cmpq %r15, %rdi
je 0x82e5
movq -0xa8(%rbp), %rsi
incq %rsi
callq 0x3080
movq 0x6cfc(%rip), %rsi      # 0xefe8
leaq -0x230(%rbp), %rdi
callq 0x3220
leaq -0x1c0(%rbp), %rdi
callq 0x3210
movq 0x6ecd(%rip), %rbx      # 0xf1d8
leaq 0x2e6a(%rip), %rax      # 0xb17c
movq %rax, -0x88(%rbp)
movq %r13, -0x80(%rbp)
leaq -0x230(%rbp), %r14
movl $0x198, %edx            # imm = 0x198
movq %r14, %rdi
xorl %esi, %esi
callq 0x3120
movq %r14, %rdi
callq 0x32a0
movq %r15, 0x178(%r14)
movq $0x0, 0x180(%r14)
movb $0x0, 0x188(%r14)
leaq -0x48(%rbp), %rsi
movb $0x22, (%rsi)
movl $0x1, %edx
movq %r14, %rdi
callq 0x32c0
leaq 0x3148(%rip), %rsi      # 0xb4b8
leaq -0x230(%rbp), %rdi
movl $0x4e, %edx
callq 0x32c0
leaq 0x3275(%rip), %rsi      # 0xb5fd
leaq -0x230(%rbp), %rdi
movl $0xf, %edx
callq 0x32c0
leaq -0x228(%rbp), %rsi
leaq -0x48(%rbp), %rdi
callq 0x3140
leaq -0xb8(%rbp), %rdi
leaq -0x48(%rbp), %r14
movq %r14, %rsi
callq 0x3190
movq (%r14), %rdi
cmpq %r12, %rdi
je 0x83d0
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3080
movq -0xb8(%rbp), %rax
leaq -0x270(%rbp), %rcx
movq %rax, (%rcx)
addq -0xb0(%rbp), %rax
movq %rax, 0x8(%rcx)
leaq -0x88(%rbp), %rsi
movl $0x5f, %edx
movq %rbx, %rdi
callq 0x3100
movq -0xb8(%rbp), %rdi
cmpq %r15, %rdi
je 0x841b
movq -0xa8(%rbp), %rsi
incq %rsi
callq 0x3080
movq 0x6bc6(%rip), %rsi      # 0xefe8
leaq -0x230(%rbp), %rdi
callq 0x3220
leaq -0x1c0(%rbp), %rdi
callq 0x3210
movq 0x6d97(%rip), %rbx      # 0xf1d8
leaq 0x2d34(%rip), %rax      # 0xb17c
movq %rax, -0x78(%rbp)
movq %r13, -0x70(%rbp)
leaq -0x230(%rbp), %r14
movl $0x198, %edx            # imm = 0x198
movq %r14, %rdi
xorl %esi, %esi
callq 0x3120
movq %r14, %rdi
callq 0x32a0
movq %r15, 0x178(%r14)
movq $0x0, 0x180(%r14)
movb $0x0, 0x188(%r14)
leaq -0x48(%rbp), %rsi
movb $0x22, (%rsi)
movl $0x1, %edx
movq %r14, %rdi
callq 0x32c0
leaq 0x3015(%rip), %rsi      # 0xb4b8
leaq -0x230(%rbp), %rdi
movl $0x4e, %edx
callq 0x32c0
leaq 0x3152(%rip), %rsi      # 0xb60d
leaq -0x230(%rbp), %rdi
movl $0xc, %edx
callq 0x32c0
leaq -0x228(%rbp), %rsi
leaq -0x48(%rbp), %rdi
callq 0x3140
leaq -0xb8(%rbp), %rdi
leaq -0x48(%rbp), %r14
movq %r14, %rsi
callq 0x3190
movq (%r14), %rdi
cmpq %r12, %rdi
je 0x8503
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3080
movq -0xb8(%rbp), %rax
leaq -0x260(%rbp), %rcx
movq %rax, (%rcx)
addq -0xb0(%rbp), %rax
movq %rax, 0x8(%rcx)
leaq -0x78(%rbp), %rsi
movl $0x5f, %edx
movq %rbx, %rdi
callq 0x3100
movq -0xb8(%rbp), %rdi
cmpq %r15, %rdi
je 0x854b
movq -0xa8(%rbp), %rsi
incq %rsi
callq 0x3080
movq 0x6a96(%rip), %rsi      # 0xefe8
leaq -0x230(%rbp), %rdi
callq 0x3220
leaq -0x1c0(%rbp), %rdi
callq 0x3210
callq 0x8800
movq 0x6c62(%rip), %rbx      # 0xf1d8
leaq 0x2bff(%rip), %rax      # 0xb17c
movq %rax, -0x68(%rbp)
movq %r13, -0x60(%rbp)
leaq -0x230(%rbp), %r14
movl $0x198, %edx            # imm = 0x198
movq %r14, %rdi
xorl %esi, %esi
callq 0x3120
movq %r14, %rdi
callq 0x32a0
movq %r15, 0x178(%r14)
movq $0x0, 0x180(%r14)
movb $0x0, 0x188(%r14)
leaq -0x48(%rbp), %rsi
movb $0x22, (%rsi)
movl $0x1, %edx
movq %r14, %rdi
callq 0x32c0
leaq 0x2ee0(%rip), %rsi      # 0xb4b8
leaq -0x230(%rbp), %rdi
movl $0x4e, %edx
callq 0x32c0
leaq 0x302a(%rip), %rsi      # 0xb61a
leaq -0x230(%rbp), %rdi
movl $0x12, %edx
callq 0x32c0
leaq -0x228(%rbp), %rsi
leaq -0x48(%rbp), %rdi
callq 0x3140
leaq -0xb8(%rbp), %rdi
leaq -0x48(%rbp), %r14
movq %r14, %rsi
callq 0x3190
movq (%r14), %rdi
cmpq %r12, %rdi
je 0x8638
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3080
movq -0xb8(%rbp), %rax
leaq -0x250(%rbp), %rcx
movq %rax, (%rcx)
addq -0xb0(%rbp), %rax
movq %rax, 0x8(%rcx)
leaq -0x68(%rbp), %rsi
movl $0x5f, %edx
movq %rbx, %rdi
callq 0x3100
movq -0xb8(%rbp), %rdi
cmpq %r15, %rdi
je 0x8680
movq -0xa8(%rbp), %rsi
incq %rsi
callq 0x3080
movq 0x6961(%rip), %rsi      # 0xefe8
leaq -0x230(%rbp), %rdi
callq 0x3220
leaq -0x1c0(%rbp), %rdi
callq 0x3210
movq 0x6b32(%rip), %rbx      # 0xf1d8
leaq 0x2acf(%rip), %rax      # 0xb17c
movq %rax, -0x58(%rbp)
movq %r13, -0x50(%rbp)
leaq -0x230(%rbp), %r14
movl $0x198, %edx            # imm = 0x198
movq %r14, %rdi
xorl %esi, %esi
callq 0x3120
movq %r14, %rdi
callq 0x32a0
movq %r15, 0x178(%r14)
movq $0x0, 0x180(%r14)
movb $0x0, 0x188(%r14)
leaq -0x48(%rbp), %rsi
movb $0x22, (%rsi)
movl $0x1, %edx
movq %r14, %rdi
callq 0x32c0
leaq 0x2db0(%rip), %rsi      # 0xb4b8
leaq -0x230(%rbp), %rdi
movl $0x4e, %edx
callq 0x32c0
leaq 0x2f0d(%rip), %rsi      # 0xb62d
leaq -0x230(%rbp), %rdi
movl $0xe, %edx
callq 0x32c0
leaq -0x228(%rbp), %rsi
leaq -0x48(%rbp), %rdi
callq 0x3140
leaq -0xb8(%rbp), %rdi
leaq -0x48(%rbp), %r14
movq %r14, %rsi
callq 0x3190
movq (%r14), %rdi
cmpq %r12, %rdi
je 0x8768
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3080
movq -0xb8(%rbp), %rax
leaq -0x240(%rbp), %rcx
movq %rax, (%rcx)
addq -0xb0(%rbp), %rax
movq %rax, 0x8(%rcx)
leaq -0x58(%rbp), %rsi
movl $0x5f, %edx
movq %rbx, %rdi
callq 0x3100
movq -0xb8(%rbp), %rdi
cmpq %r15, %rdi
je 0x87b0
movq -0xa8(%rbp), %rsi
incq %rsi
callq 0x3080
movq 0x6831(%rip), %rsi      # 0xefe8
leaq -0x230(%rbp), %rdi
callq 0x3220
leaq -0x1c0(%rbp), %rdi
callq 0x3210
addq $0x258, %rsp            # imm = 0x258
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x87e9
jmp 0x87e9
jmp 0x87e9
jmp 0x87e9
movq %rax, %rbx
leaq -0x230(%rbp), %rdi
callq 0x9eb8
movq %rbx, %rdi
callq 0x31d0