protected AssertFilesExistInDestination ( string folder, string extension, int number ) : void | ||
folder | string | |
extension | string | |
number | int | |
return | void |
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);
}