try { this.processContext.finishProcess( this.process ); } catch (InvalidMotionException e) { fail( e.getLocalizedMessage() ); }
this.processContext.finishProcess( this.process );
    public void testFinishProcess_Valid()    {        this.processContext.startProcess( this.process );        assertSame( process,                    this.processContext.getCurrentProcess() );        try        {            this.processContext.finishProcess( this.process );        }        catch (InvalidMotionException e)        {            fail( e.getLocalizedMessage() );        }    }