public void UnloadPackFile() { PackFileService packFileService = new PackFileService(new PackFileDataBase(), null); var pack0 = packFileService.Load(@"Data\CaPackFile_01.pack"); var pack1 = packFileService.Load(@"Data\boot.pack"); Assert.NotNull(pack0); Assert.NotNull(pack1); Assert.AreEqual(2, packFileService.Database.PackFiles.Count); packFileService.UnloadPackContainer(pack0); Assert.AreEqual(1, packFileService.Database.PackFiles.Count); }