public void GetPagesValidator_failed_if_gencontext_is_not_initialized(GetPagesValidator validator, GetPagesCommand command)
        {
            ClearFakeGenContext();

            validator
            .ShouldHaveValidationErrorFor(x => GenContext.ToolBox, command)
            .WithErrorMessage(StringRes.BadReqNotSynced);
        }
        public void GetPagesValidator_is_valid_if_gencontext_is_initialized(GetPagesValidator validator, GetPagesCommand command)
        {
            InitFakeGenContext();

            validator
            .ShouldNotHaveValidationErrorFor(x => GenContext.ToolBox, command);
        }