@Test
public void testUpdateApplication_success() throws Exception {

	TestApplication app = new TestApplication();
	app.setDirectory( this.folder.newFolder());
	ManagedApplication ma = new ManagedApplication( app );
	TestManagerWrapper.addManagedApplication( this.mngr, ma );
	String newDesc = "new description";
	Assert.assertEquals( 0, app.getDirectory().listFiles().length );
	Assert.assertFalse( newDesc.equals( app.getDescription()));
	this.mngr.updateApplication( ma, newDesc );
	Assert.assertEquals( newDesc, app.getDescription());
	Assert.assertEquals( 1, app.getDirectory().listFiles().length );
}