protected internal override void CreateRules() { TestDirectory = TestDirectory.testDirectory(); DefaultFileSystemRule defaultFileSystemRule = new DefaultFileSystemRule(); FileSystemRule = defaultFileSystemRule; PageCacheRule = new PageCacheRule(); Rules = RuleChain.outerRule(defaultFileSystemRule).around(TestDirectory).around(PageCacheRule); }