### Question:
QExec extends QBeanSupport implements QExecMBean { public void setShutdownScript (String scriptPath) { shutdownScript = scriptPath; }  void setStartScript(String scriptPath); String getStartScript(); void setShutdownScript(String scriptPath); String getShutdownScript();  }### Answer:
@Test public void testSetShutdownScript() throws Throwable { QExec qExec = new QExec(); qExec.setShutdownScript("testQExecScriptPath"); assertEquals("testQExecScriptPath", qExec.shutdownScript, "qExec.shutdownScript"); }