gatewayResource = super.getGatewayResource();
}
@Test
public void testSave() throws Exception {
ApplicationDescriptorResource applicationDescriptorResouce = (ApplicationDescriptorResource) gatewayResource.create(ResourceType.APPLICATION_DESCRIPTOR);
applicationDescriptorResouce.setHostDescName("testHostDesc");
applicationDescriptorResouce.setServiceDescName("testServiceDesc");
applicationDescriptorResouce.setName("testAppDesc");
applicationDescriptorResouce.setContent("testContent");
applicationDescriptorResouce.setUpdatedUser("admin");
applicationDescriptorResouce.save();
assertTrue("application descriptor saved successfully", gatewayResource.isExists(ResourceType.APPLICATION_DESCRIPTOR, "testAppDesc"));
gatewayResource.remove(ResourceType.APPLICATION_DESCRIPTOR, "testAppDesc");
}