public void TestGetFilesByExtention() {
     var pluginForTxt = new TestPlugin(FileExtentions.TXT);
     _engine.RegisterPlugin(pluginForTxt);
     using (FSHelper.CreateFileTxt(_testFolder.FullName))
     using (FSHelper.CreateFileTxt(_testFolder.FullName))
     using (FSHelper.CreateFileTxt(_testFolder.FullName)) {
         Assert.AreEqual(3, _engine.GetFilesInFolder(_testFolder.FullName, true, pluginForTxt).Length);
         using (FSHelper.CreateFileMp3(_testSubFolderLevel1.FullName))
         using (FSHelper.CreateFileMp3(_testSubFolderLevel1.FullName))
         using (FSHelper.CreateFileMp3(_testSubFolderLevel1.FullName)) {
             Assert.AreEqual(3, _engine.GetFilesInFolder(_testFolder.FullName, true, pluginForTxt).Length);
             using (FSHelper.CreateFileXml(_testSubFolderLevel2.FullName))
             using (FSHelper.CreateFileXml(_testSubFolderLevel2.FullName))
             using (FSHelper.CreateFileXml(_testSubFolderLevel2.FullName)) {
                 Assert.AreEqual(3, _engine.GetFilesInFolder(_testFolder.FullName, true, pluginForTxt).Length);
             }
         }
     }
 }
 public override void MyTestInitialize() {
     _testPlugin = new TestPlugin();
     base.MyTestInitialize();
 }