@Test
public void testExecute_invalidApplicationName() throws Exception {

	this.gl.applicationName = "invalid";
	this.gl.scopedInstancePath = null;
	ByteArrayOutputStream os = new ByteArrayOutputStream();
	this.gl.out = new PrintStream( os, true, "UTF-8" );
	this.gl.execute();
	Assert.assertTrue( os.toString( "UTF-8" ).contains( "Unknown application" ));
	Mockito.verify( this.applicationMngr, Mockito.times( 1 )).findManagedApplicationByName( this.gl.applicationName );
	Mockito.verifyZeroInteractions( this.messagingMngr );
}