public void setUp() throws Exception {
super.setUp();
}
@Test
public void testSave() throws Exception {
ConfigurationResource configuration = ResourceUtils.createConfiguration("testConfigKey");
configuration.setConfigVal("testConfigValue");
Calendar calender = Calendar.getInstance();
java.util.Date d = calender.getTime();
Timestamp currentTime = new Timestamp(d.getTime());
configuration.setExpireDate(currentTime);
configuration.setCategoryID("SYSTEM");
configuration.save();
assertTrue("Configuration Save succuessful", ResourceUtils.isConfigurationExist("testConfigKey"));
//remove test configuration
ResourceUtils.removeConfiguration("testConfigKey");
}