protected void AssertFilesExistInDestination(string folder, string extension, int number) { string destination = Path.Combine(_exportPath, folder); Assert.True(Directory.Exists(destination)); Assert.Equal(number, Directory.GetFiles(destination, "*" + extension).Length); }