package com.intuit.tank.script;

/*
 * #%L
 * JSF Support Beans
 * %%
 * Copyright (C) 2011 - 2015 Intuit Inc.
 * %%
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 * #L%
 */

import org.junit.jupiter.api.*;

import static org.junit.jupiter.api.Assertions.*;

import com.intuit.tank.project.ScriptStep;
import com.intuit.tank.script.VariableEditor;

/**
 * The class <code>VariableEditorTest</code> contains tests for the class <code>{@link VariableEditor}</code>.
 *
 * @generatedBy CodePro at 12/15/14 3:53 PM
 */
public class VariableEditorTest {
    /**
     * Run the VariableEditor() constructor test.
     *
     * @generatedBy CodePro at 12/15/14 3:53 PM
     */
    @Test
    public void testVariableEditor_1()
        throws Exception {
        VariableEditor result = new VariableEditor();
        assertNotNull(result);
    }

    /**
     * Run the void done() method test.
     *
     * @throws Exception
     *
     * @generatedBy CodePro at 12/15/14 3:53 PM
     */
    @Test
    public void testDone_1()
        throws Exception {
        VariableEditor fixture = new VariableEditor();
        fixture.setButtonLabel("");
        fixture.setKey("");
        fixture.setStep(new ScriptStep());
        fixture.setValue("");

        fixture.done();

        // An unexpected exception was thrown in user code while executing this test:
        //    java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder
        //       at com.intuit.tank.script.VariableEditor.setButtonLabel(VariableEditor.java:70)
    }

    /**
     * Run the void done() method test.
     *
     * @throws Exception
     *
     * @generatedBy CodePro at 12/15/14 3:53 PM
     */
    @Test
    public void testDone_2()
        throws Exception {
        VariableEditor fixture = new VariableEditor();
        fixture.setButtonLabel("");
        fixture.setKey("");
        fixture.setStep(new ScriptStep());
        fixture.setValue("");

        fixture.done();

        // An unexpected exception was thrown in user code while executing this test:
        //    java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder
        //       at com.intuit.tank.script.VariableEditor.setButtonLabel(VariableEditor.java:70)
    }

    /**
     * Run the void editVariable(ScriptStep) method test.
     *
     * @throws Exception
     *
     * @generatedBy CodePro at 12/15/14 3:53 PM
     */
    @Test
    public void testEditVariable_1()
        throws Exception {
        VariableEditor fixture = new VariableEditor();
        fixture.setButtonLabel("");
        fixture.setKey("");
        fixture.setStep(new ScriptStep());
        fixture.setValue("");
        ScriptStep step = new ScriptStep();

        fixture.editVariable(step);

        // An unexpected exception was thrown in user code while executing this test:
        //    java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder
        //       at com.intuit.tank.script.VariableEditor.setButtonLabel(VariableEditor.java:70)
    }

    /**
     * Run the void editVariable(ScriptStep) method test.
     *
     * @throws Exception
     *
     * @generatedBy CodePro at 12/15/14 3:53 PM
     */
    @Test
    public void testEditVariable_2()
        throws Exception {
        VariableEditor fixture = new VariableEditor();
        fixture.setButtonLabel("");
        fixture.setKey("");
        fixture.setStep(new ScriptStep());
        fixture.setValue("");
        ScriptStep step = new ScriptStep();

        fixture.editVariable(step);

        // An unexpected exception was thrown in user code while executing this test:
        //    java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder
        //       at com.intuit.tank.script.VariableEditor.setButtonLabel(VariableEditor.java:70)
    }

    /**
     * Run the String getButtonLabel() method test.
     *
     * @throws Exception
     *
     * @generatedBy CodePro at 12/15/14 3:53 PM
     */
    @Test
    public void testGetButtonLabel_1()
        throws Exception {
        VariableEditor fixture = new VariableEditor();
        fixture.setButtonLabel("");
        fixture.setKey("");
        fixture.setStep(new ScriptStep());
        fixture.setValue("");

        String result = fixture.getButtonLabel();

        // An unexpected exception was thrown in user code while executing this test:
        //    java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder
        //       at com.intuit.tank.script.VariableEditor.setButtonLabel(VariableEditor.java:70)
        assertNotNull(result);
    }

    /**
     * Run the String getKey() method test.
     *
     * @throws Exception
     *
     * @generatedBy CodePro at 12/15/14 3:53 PM
     */
    @Test
    public void testGetKey_1()
        throws Exception {
        VariableEditor fixture = new VariableEditor();
        fixture.setButtonLabel("");
        fixture.setKey("");
        fixture.setStep(new ScriptStep());
        fixture.setValue("");

        String result = fixture.getKey();

        // An unexpected exception was thrown in user code while executing this test:
        //    java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder
        //       at com.intuit.tank.script.VariableEditor.setButtonLabel(VariableEditor.java:70)
        assertNotNull(result);
    }

    /**
     * Run the ScriptStep getStep() method test.
     *
     * @throws Exception
     *
     * @generatedBy CodePro at 12/15/14 3:53 PM
     */
    @Test
    public void testGetStep_1()
        throws Exception {
        VariableEditor fixture = new VariableEditor();
        fixture.setButtonLabel("");
        fixture.setKey("");
        fixture.setStep((ScriptStep) null);
        fixture.setValue("");

        ScriptStep result = fixture.getStep();

        // An unexpected exception was thrown in user code while executing this test:
        //    java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder
        //       at com.intuit.tank.script.VariableEditor.setButtonLabel(VariableEditor.java:70)
        assertNotNull(result);
    }

    /**
     * Run the ScriptStep getStep() method test.
     *
     * @throws Exception
     *
     * @generatedBy CodePro at 12/15/14 3:53 PM
     */
    @Test
    public void testGetStep_2()
        throws Exception {
        VariableEditor fixture = new VariableEditor();
        fixture.setButtonLabel("");
        fixture.setKey("");
        fixture.setStep(new ScriptStep());
        fixture.setValue("");

        ScriptStep result = fixture.getStep();

        // An unexpected exception was thrown in user code while executing this test:
        //    java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder
        //       at com.intuit.tank.script.VariableEditor.setButtonLabel(VariableEditor.java:70)
        assertNotNull(result);
    }

    /**
     * Run the String getValue() method test.
     *
     * @throws Exception
     *
     * @generatedBy CodePro at 12/15/14 3:53 PM
     */
    @Test
    public void testGetValue_1()
        throws Exception {
        VariableEditor fixture = new VariableEditor();
        fixture.setButtonLabel("");
        fixture.setKey("");
        fixture.setStep(new ScriptStep());
        fixture.setValue("");

        String result = fixture.getValue();

        // An unexpected exception was thrown in user code while executing this test:
        //    java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder
        //       at com.intuit.tank.script.VariableEditor.setButtonLabel(VariableEditor.java:70)
        assertNotNull(result);
    }

    /**
     * Run the void insertVariable() method test.
     *
     * @throws Exception
     *
     * @generatedBy CodePro at 12/15/14 3:53 PM
     */
    @Test
    public void testInsertVariable_1()
        throws Exception {
        VariableEditor fixture = new VariableEditor();
        fixture.setButtonLabel("");
        fixture.setKey("");
        fixture.setStep(new ScriptStep());
        fixture.setValue("");

        fixture.insertVariable();

        // An unexpected exception was thrown in user code while executing this test:
        //    java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder
        //       at com.intuit.tank.script.VariableEditor.setButtonLabel(VariableEditor.java:70)
    }

    /**
     * Run the void setButtonLabel(String) method test.
     *
     * @throws Exception
     *
     * @generatedBy CodePro at 12/15/14 3:53 PM
     */
    @Test
    public void testSetButtonLabel_1()
        throws Exception {
        VariableEditor fixture = new VariableEditor();
        fixture.setButtonLabel("");
        fixture.setKey("");
        fixture.setStep(new ScriptStep());
        fixture.setValue("");
        String buttonLabel = "";

        fixture.setButtonLabel(buttonLabel);

        // An unexpected exception was thrown in user code while executing this test:
        //    java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder
        //       at com.intuit.tank.script.VariableEditor.setButtonLabel(VariableEditor.java:70)
    }

    /**
     * Run the void setKey(String) method test.
     *
     * @throws Exception
     *
     * @generatedBy CodePro at 12/15/14 3:53 PM
     */
    @Test
    public void testSetKey_1()
        throws Exception {
        VariableEditor fixture = new VariableEditor();
        fixture.setButtonLabel("");
        fixture.setKey("");
        fixture.setStep(new ScriptStep());
        fixture.setValue("");
        String key = "";

        fixture.setKey(key);

        // An unexpected exception was thrown in user code while executing this test:
        //    java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder
        //       at com.intuit.tank.script.VariableEditor.setButtonLabel(VariableEditor.java:70)
    }

    /**
     * Run the void setStep(ScriptStep) method test.
     *
     * @throws Exception
     *
     * @generatedBy CodePro at 12/15/14 3:53 PM
     */
    @Test
    public void testSetStep_1()
        throws Exception {
        VariableEditor fixture = new VariableEditor();
        fixture.setButtonLabel("");
        fixture.setKey("");
        fixture.setStep(new ScriptStep());
        fixture.setValue("");
        ScriptStep step = new ScriptStep();

        fixture.setStep(step);

        // An unexpected exception was thrown in user code while executing this test:
        //    java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder
        //       at com.intuit.tank.script.VariableEditor.setButtonLabel(VariableEditor.java:70)
    }

    /**
     * Run the void setValue(String) method test.
     *
     * @throws Exception
     *
     * @generatedBy CodePro at 12/15/14 3:53 PM
     */
    @Test
    public void testSetValue_1()
        throws Exception {
        VariableEditor fixture = new VariableEditor();
        fixture.setButtonLabel("");
        fixture.setKey("");
        fixture.setStep(new ScriptStep());
        fixture.setValue("");
        String value = "";

        fixture.setValue(value);

        // An unexpected exception was thrown in user code while executing this test:
        //    java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder
        //       at com.intuit.tank.script.VariableEditor.setButtonLabel(VariableEditor.java:70)
    }
}