public void beforeEach()
        {
            Directory.GetFiles(".", "*view.config").Each(File.Delete);

            _graph       = new SharingGraph();
            _fileSystem  = new FileSystem();
            _packageLog  = new PackageLog();
            _sharingLogs = new SharingLogsCache();

            _activator = new SharingConfigActivator(_graph, _sharingLogs, new FubuApplicationFiles());
        }
        public void beforeEach()
        {
            Directory.GetFiles(".", "*spark.config").Each(File.Delete);

            _graph = new SharingGraph();
            _fileSystem = new FileSystem();
            _packageLog = new PackageLog();
            _sharingLogs = new SharingLogsCache();

            _activator = new SharingConfigActivator(_graph, _fileSystem, _sharingLogs);
        }
        public void sort_application_files_last()
        {
            var configs = new[]
            {
                new FubuFile("a.txt", ContentFolder.Application),
                new FubuFile("b.txt", "Pak1"),
                new FubuFile("c.txt", "Pak2")
            };

            SharingConfigActivator.SortConfigsFromApplicationLast(configs.ToList())
            .ShouldHaveTheSameElementsAs(configs[1], configs[2], configs[0]);
        }