HM\BackUpWordPress\Common_File_Backup_Engine_Tests::test_file_with_strange_characters PHP Method

test_file_with_strange_characters() public method

    public function test_file_with_strange_characters()
    {
        file_put_contents(PATH::get_root() . '/Groß.jpg', '');
        $this->assertFileExists(PATH::get_root() . '/Groß.jpg');
        $this->backup->backup();
        $this->assertFileExists($this->backup->get_backup_filepath());
        $this->assertArchiveContains($this->backup->get_backup_filepath(), array('Groß.jpg'));
        unlink(PATH::get_root() . '/Groß.jpg');
    }