public function testExcludePartialFilename()
{
$this->backup->set_excludes(new Excludes('test-*'));
$files = $this->get_and_prepare_files();
$this->assertNotContains('test-data.txt', $files);
$this->assertContains('exclude', $files);
$this->assertContains('exclude/exclude.exclude', $files);
$this->assertCount(2, $files);
}