// File: /workspace/github_cpp_makefile_star2_O2/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 %r12
pushq %rbx
subq $0x240, %rsp            # imm = 0x240
movq 0x6e25(%rip), %rbx      # 0xd1e0
leaq 0x2db6(%rip), %r15      # 0x9178
movq %r15, -0x70(%rbp)
leaq 0x2dc3(%rip), %r12      # 0x9190
movq %r12, -0x68(%rbp)
leaq -0x208(%rbp), %r14
movl $0x198, %edx            # imm = 0x198
movq %r14, %rdi
xorl %esi, %esi
callq 0x3120
movq %r14, %rdi
callq 0x7a9a
pushq $0x22
popq %rsi
movq %r14, %rdi
callq 0x3200
leaq 0x30b3(%rip), %rsi      # 0x94b4
leaq -0x208(%rbp), %rdi
callq 0x31b0
leaq 0x31d6(%rip), %rsi      # 0x95ea
leaq -0x208(%rbp), %rdi
callq 0x31b0
leaq -0x208(%rbp), %rdi
callq 0x7acc
movq (%rax), %rdx
leaq -0x258(%rbp), %rcx
movq %rdx, (%rcx)
addq 0x8(%rax), %rdx
movq %rdx, 0x8(%rcx)
leaq -0x70(%rbp), %rsi
pushq $0x5f
popq %rdx
movq %rbx, %rdi
callq 0x30f0
leaq -0x208(%rbp), %rdi
callq 0x7b10
movq 0x6d7d(%rip), %rbx      # 0xd1e0
movq %r15, -0x60(%rbp)
movq %r12, -0x58(%rbp)
movl $0x198, %edx            # imm = 0x198
movq %r14, %rdi
xorl %esi, %esi
callq 0x3120
movq %r14, %rdi
callq 0x7a9a
pushq $0x22
popq %rsi
movq %r14, %rdi
callq 0x3200
leaq 0x3020(%rip), %rsi      # 0x94b4
leaq -0x208(%rbp), %rdi
callq 0x31b0
leaq 0x3152(%rip), %rsi      # 0x95f9
leaq -0x208(%rbp), %rdi
callq 0x31b0
leaq -0x208(%rbp), %rdi
callq 0x7acc
movq (%rax), %rdx
leaq -0x248(%rbp), %rcx
movq %rdx, (%rcx)
addq 0x8(%rax), %rdx
movq %rdx, 0x8(%rcx)
leaq -0x60(%rbp), %rsi
pushq $0x5f
popq %rdx
movq %rbx, %rdi
callq 0x30f0
leaq -0x208(%rbp), %rdi
callq 0x7b10
movq 0x6cea(%rip), %rbx      # 0xd1e0
movq %r15, -0x50(%rbp)
movq %r12, -0x48(%rbp)
movl $0x198, %edx            # imm = 0x198
movq %r14, %rdi
xorl %esi, %esi
callq 0x3120
movq %r14, %rdi
callq 0x7a9a
pushq $0x22
popq %rsi
movq %r14, %rdi
callq 0x3200
leaq 0x2f8d(%rip), %rsi      # 0x94b4
leaq -0x208(%rbp), %rdi
callq 0x31b0
leaq 0x30cf(%rip), %rsi      # 0x9609
leaq -0x208(%rbp), %rdi
callq 0x31b0
leaq -0x208(%rbp), %rdi
callq 0x7acc
movq (%rax), %rdx
leaq -0x238(%rbp), %rcx
movq %rdx, (%rcx)
addq 0x8(%rax), %rdx
movq %rdx, 0x8(%rcx)
leaq -0x50(%rbp), %rsi
pushq $0x5f
popq %rdx
movq %rbx, %rdi
callq 0x30f0
leaq -0x208(%rbp), %rdi
callq 0x7b10
callq 0x66dc
movq 0x6c52(%rip), %rbx      # 0xd1e0
movq %r15, -0x40(%rbp)
movq %r12, -0x38(%rbp)
movl $0x198, %edx            # imm = 0x198
movq %r14, %rdi
xorl %esi, %esi
callq 0x3120
movq %r14, %rdi
callq 0x7a9a
pushq $0x22
popq %rsi
movq %r14, %rdi
callq 0x3200
leaq 0x2ef5(%rip), %rsi      # 0x94b4
leaq -0x208(%rbp), %rdi
callq 0x31b0
leaq 0x3044(%rip), %rsi      # 0x9616
leaq -0x208(%rbp), %rdi
callq 0x31b0
leaq -0x208(%rbp), %rdi
callq 0x7acc
movq (%rax), %rdx
leaq -0x228(%rbp), %rcx
movq %rdx, (%rcx)
addq 0x8(%rax), %rdx
movq %rdx, 0x8(%rcx)
leaq -0x40(%rbp), %rsi
pushq $0x5f
popq %rdx
movq %rbx, %rdi
callq 0x30f0
leaq -0x208(%rbp), %rdi
callq 0x7b10
movq 0x6bbf(%rip), %rbx      # 0xd1e0
movq %r15, -0x30(%rbp)
movq %r12, -0x28(%rbp)
movl $0x198, %edx            # imm = 0x198
movq %r14, %rdi
xorl %esi, %esi
callq 0x3120
movq %r14, %rdi
callq 0x7a9a
pushq $0x22
popq %rsi
movq %r14, %rdi
callq 0x3200
leaq 0x2e62(%rip), %rsi      # 0x94b4
leaq -0x208(%rbp), %rdi
callq 0x31b0
leaq 0x2fc4(%rip), %rsi      # 0x9629
leaq -0x208(%rbp), %rdi
callq 0x31b0
leaq -0x208(%rbp), %rdi
callq 0x7acc
movq (%rax), %rdx
leaq -0x218(%rbp), %rcx
movq %rdx, (%rcx)
addq 0x8(%rax), %rdx
movq %rdx, 0x8(%rcx)
leaq -0x30(%rbp), %rsi
pushq $0x5f
popq %rdx
movq %rbx, %rdi
callq 0x30f0
leaq -0x208(%rbp), %rdi
callq 0x7b10
addq $0x240, %rsp            # imm = 0x240
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
jmp 0x66c5
jmp 0x66c5
jmp 0x66c5
jmp 0x66c5
movq %rax, %rbx
leaq -0x208(%rbp), %rdi
callq 0x7b10
movq %rbx, %rdi
callq 0x31e0