@Test( expected = UnauthorizedActionException.class )
public void testDeleteApplication_unauthorized() throws Exception {

	TestApplication app = new TestApplication();
	app.setDirectory( this.folder.newFolder());
	ManagedApplication ma = new ManagedApplication( app );
	TestManagerWrapper.addManagedApplication( this.mngr, ma );
	app.getMySqlVm().setStatus( InstanceStatus.DEPLOYED_STARTED );
	this.mngr.deleteApplication( ma );
}