public void CheckVariablesAreNotEqual_VariableValueIsValid_ReturnTrue()
        {
            var variable = new Variable()
            {
                Type = typeof(string), Value = "1"
            };

            variableController.Variables.TryAdd("test1", variable);
            variable = new Variable()
            {
                Type = typeof(string), Value = "2"
            };
            variableController.Variables.TryAdd("test2", variable);

            VariableSteps steps = new VariableSteps(variableController);

            steps.CheckVariablesAreNotEqual("test1", "test2");
        }
        public void CheckVariablesAreNotEqual_InCorrectActual_ReturnException()
        {
            var variable = new Variable()
            {
                Type = typeof(string), Value = "1"
            };

            variableController.Variables.TryAdd("test1", variable);
            variable = new Variable()
            {
                Type = typeof(string), Value = "1"
            };
            variableController.Variables.TryAdd("test2", variable);
            VariableSteps steps = new VariableSteps(variableController);

            Action act = () => steps.CheckVariablesAreNotEqual("test1", "test2");

            act.Should().Throw <Exception>()
            .Which.Message.Contains($"значение переменной \"test1\":\"1\" равно значению переменной \"test2\":\"1\"");
        }