def test_diff_with_nonexistent_revision_for_dest_file(self):
        """Testing parsing SVN diff with deleted file using "nonexistent"
        destination revision
        """
        diff = (
            b'Index: deleted-file\n'
            b'==========================================================='
            b'========\n'
            b'--- deleted-file\t(revision 4)\n'
            b'+++ deleted-file\t(nonexistent)\n'
            b'@@ -1,2 +0,0 @@\n'
            b'-line 1\n'
            b'-line 2\n'
        )

        parsed_files = self.tool.get_parser(diff).parse()
        self.assertEqual(len(parsed_files), 1)

        self.assert_parsed_diff_file(
            parsed_files[0],
            orig_filename=b'deleted-file',
            orig_file_details=b'(revision 4)',
            modified_filename=b'deleted-file',
            modified_file_details=b'(nonexistent)',
            index_header_value=b'deleted-file',
            deleted=True,
            delete_count=2,
            data=diff)