public TestApplication Reset()
 {
     _antiForgeryRequestTokens = null;
     User = _originalUser;
     ReplacableServiceProvider.Reset();
     return(this);
 }
        public AntiForgeryRequestTokens GetAntiForgeryTokens()
        {
            if (_antiForgeryRequestTokens == null)
            {
                _antiForgeryRequestTokens = AntiForgeryRequestTokens.GetFromApplication(this);
            }

            return(_antiForgeryRequestTokens);
        }