@Test
public void testDeleteApplicationTemplate() throws Exception {

	File directory = TestUtils.findApplicationDirectory( "lamp" );
	Assert.assertTrue( directory.exists());
	Assert.assertEquals( 0, this.client.getManagementDelegate().listApplicationTemplates().size());
	this.client.getManagementDelegate().loadUnzippedApplicationTemplate( directory.getAbsolutePath());
	Assert.assertEquals( 1, this.client.getManagementDelegate().listApplicationTemplates().size());
	this.client.getManagementDelegate().deleteApplicationTemplate( "Legacy LAMP", "1.0.1-SNAPSHOT" );
	Assert.assertEquals( 0, this.client.getManagementDelegate().listApplicationTemplates().size());
}