protected internal virtual void CreateRules() { TestDirectory = TestDirectory.testDirectory(); EphemeralFileSystemRule ephemeralFileSystemRule = new EphemeralFileSystemRule(); FileSystemRule = ephemeralFileSystemRule; PageCacheRule = new PageCacheRule(); Rules = RuleChain.outerRule(ephemeralFileSystemRule).around(TestDirectory).around(PageCacheRule); }