public void TestMethod4()
        {
            const string           KEY              = "ccc";
            const string           NAME             = "bbb";
            const string           TYPE             = "CustomClass";
            const string           SELECTOR         = "aaa";
            const string           DRIVER_PROP_NAME = "Driver";
            Mock <IComponentAddin> addin            = new Mock <IComponentAddin>();

            addin.Setup(add => add.AddinKey).Returns(KEY);
            addin.Setup(add => add.Type).Returns(TYPE);
            addin.Setup(add => add.CtorContainsDriver).Returns(true);
            var propertyGen = new DriverFindElementPropertyGenerator(DRIVER_PROP_NAME);
            var property    = propertyGen.CreateProperty(addin.Object, NAME, SELECTOR);

            property.Statement.Should().Be($"protected {TYPE} {NAME} => new {TYPE}({DRIVER_PROP_NAME},{DRIVER_PROP_NAME}.FindElement(By.ClassName(\"{SELECTOR}\")));");
        }
        public void TestMethod3()
        {
            const string KEY              = "ccc";
            const string NAME             = "bbb";
            const string TYPE             = "IWebElement";
            const string SELECTOR         = "aaa";
            const string DRIVER_PROP_NAME = "Driver";

            Mock <IComponentAddin> addin = new Mock <IComponentAddin>();

            addin.Setup(add => add.AddinKey).Returns(KEY);
            addin.Setup(add => add.Type).Returns(TYPE);
            addin.Setup(add => add.IsPropertyModifierPublic).Returns(true);

            var propertyGen = new DriverFindElementPropertyGenerator(DRIVER_PROP_NAME);
            var property    = propertyGen.CreateProperty(addin.Object, NAME, SELECTOR);

            property.Statement.Should().Be($"public {TYPE} {NAME}Element => {DRIVER_PROP_NAME}.FindElement(By.ClassName(\"{SELECTOR}\"));");
        }