def mock_file_cache(moduledir)
      mock_cache = MockFileCache.new(moduledir)
      allow(::BoltServer::FileCache).to receive(:new).and_return(mock_cache)
    end
def mock_file_cache(moduledir)
      mock_cache = MockFileCache.new(moduledir)
      allow(::BoltServer::FileCache).to receive(:new).and_return(mock_cache)
    end
TODO: support more than just the sample module