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");
}