main/src/test/java/org/onap/policy/pap/main/comm/Threaded.java
/**
     * Invokes the "stopper" function to tell the background thread to exit and then waits
     * for it to terminate.
     *
     * @throws Exception if an error occurs
     */
Invokes the "stopper" function to tell the background thread to exit and then waits
for it to terminate.

@throws Exception if an error occurs
Invokes the " stopper " function to tell the background thread to exit and then waits for it to terminate . @throws Exception if an error occurs
@After
    public void tearDown() throws Exception {
        stopThread();
        waitStop();
    }
@ After public void tearDown ( ) throws Exception { stopThread ( ) ; waitStop ( ) ; }
Invokes the "stopper" function to tell the background thread to exit and then waits
 for it to terminate.
Invokes the " stopper " function to tell the background thread to exit and then waits for it to terminate .