public override Statement Apply(Statement @base, Description description) { if (_chain == null) { if (_fs == null) { _fs = new EphemeralFileSystemRule(); } this._pageCacheRule = new PageCacheRule(_pageCacheConfig); this._directory = TestDirectory.TestDirectoryConflict(_clazz, _fs); this._chain = RuleChain.outerRule(_fs).around(_directory).around(_pageCacheRule); } return(_chain.apply(@base, description)); }