<commit_before>using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
using Moq;
using NUnit.Framework;
using OpenQA.Selenium;
using Sonneville.Investing.Fidelity.WebDriver.Configuration;
using Sonneville.Investing.Fidelity.WebDriver.Logging;

namespace Sonneville.Investing.Fidelity.WebDriver.Test.Logging
{
    [TestFixture]
    public class PatientWebDriverTest
    {
        private bool _isDisplayed;

        private Mock<IWebDriver> _webDriverMock;

        private Mock<ISeleniumWaiter> _seleniumWaiterMock;
        private TimeSpan _timeSpan;

        private PatientWebDriver _patientWebDriver;
        private SeleniumConfiguration _seleniumConfiguration;

        [SetUp]
        public void Setup()
        {
            _seleniumWaiterMock = new Mock<ISeleniumWaiter>();
            _timeSpan = TimeSpan.FromMinutes(1);

            _seleniumConfiguration = new SeleniumConfiguration {WebElementDisplayTimeout = _timeSpan};

            _webDriverMock = new Mock<IWebDriver>();

            _patientWebDriver = new PatientWebDriver(
                _seleniumWaiterMock.Object,
                _seleniumConfiguration,<commit_msg>Fix test name<commit_after>using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
using Moq;
using NUnit.Framework;
using OpenQA.Selenium;
using Sonneville.Investing.Fidelity.WebDriver.Configuration;
using Sonneville.Investing.Fidelity.WebDriver.Logging;

namespace Sonneville.Investing.Fidelity.WebDriver.Test.Logging
{
    [TestFixture]
    public class PatientWebDriverTests
    {
        private bool _isDisplayed;

        private Mock<IWebDriver> _webDriverMock;

        private Mock<ISeleniumWaiter> _seleniumWaiterMock;
        private TimeSpan _timeSpan;

        private PatientWebDriver _patientWebDriver;
        private SeleniumConfiguration _seleniumConfiguration;

        [SetUp]
        public void Setup()
        {
            _seleniumWaiterMock = new Mock<ISeleniumWaiter>();
            _timeSpan = TimeSpan.FromMinutes(1);

            _seleniumConfiguration = new SeleniumConfiguration {WebElementDisplayTimeout = _timeSpan};

            _webDriverMock = new Mock<IWebDriver>();

            _patientWebDriver = new PatientWebDriver(
                _seleniumWaiterMock.Object,
                _seleniumConfiguration,
{'fraction_non_alphanumeric': 0.06663924310983134, 'fraction_numerical': 0.0008227067050596463, 'mean_word_length': 3.289241622574956, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4672730', 'n_tokens_mistral': 703, 'n_tokens_neox': 654, 'n_words': 133}