public void CheckVariableAreContains_VariableValueIsValid_ReturnTrue()
        {
            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);

            steps.CheckVariableAreContains("test1", "test2");
        }
        public void CheckVariableAreContains_InCorrectActual_ReturnException()
        {
            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);

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

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