public virtual void GhostScriptIsDefaultSpecified()
        {
            ImageHandlerUtil imageHandlerUtil = new ImageHandlerUtil();

            NUnit.Framework.Assert.IsNotNull(imageHandlerUtil.GetGsExec());
            NUnit.Framework.Assert.IsTrue(imageHandlerUtil.IsVersionCommandExecutable(ImageHandlerUtil.GHOSTSCRIPT_KEYWORD
                                                                                      ));
        }
        public virtual void GhostScriptIsExplicitlySpecified()
        {
            String gsExec = SystemUtil.GetEnvironmentVariable(ImageHandlerUtil.GHOSTSCRIPT_ENVIRONMENT_VARIABLE);

            if (gsExec == null)
            {
                gsExec = SystemUtil.GetEnvironmentVariable(ImageHandlerUtil.GHOSTSCRIPT_ENVIRONMENT_VARIABLE_LEGACY);
            }
            ImageHandlerUtil imageHandlerUtil = new ImageHandlerUtil();

            imageHandlerUtil.SetGsExec(gsExec);
            NUnit.Framework.Assert.IsNotNull(imageHandlerUtil.GetGsExec());
            NUnit.Framework.Assert.IsTrue(imageHandlerUtil.IsVersionCommandExecutable(ImageHandlerUtil.GHOSTSCRIPT_KEYWORD
                                                                                      ));
        }