Prim prim = deployExpectingSuccess(FILES + "message-box" + ".cdl", "echoSystem"); Thread.sleep(10 * 1000);
Prim prim = deployExpectingSuccess(VALID_CDL_FILES + MESSAGEBOX, MESSAGEBOX);
    public void testMessageBoxWait() throws Throwable {        Prim prim = deployExpectingSuccess(FILES + "message-box" + ".cdl", "echoSystem");        Thread.sleep(10 * 1000);        Prim echoPrim = prim.sfResolve("echo", (Prim) null, true);        //cast it        Echo echo = (Echo) echoPrim;        try {            boolean terminated = spinUntilTerminated(echoPrim, 30);            assertTrue("successful termination", terminated);        } finally {            terminateApplication(prim);        }    }