{
public void execute() throws Exception
{
UserPortalConfig userPortalCfg = userPortalConfigSer_.getUserPortalConfig("classic", "root");
assertNotNull(userPortalCfg);
PortalConfig portalCfg = userPortalCfg.getPortalConfig();
assertNotNull(portalCfg);
assertEquals(PortalConfig.PORTAL_TYPE, portalCfg.getType());
assertEquals("classic", portalCfg.getName());
assertEquals("en", portalCfg.getLocale());
portalCfg.setLocale("fr");
storage_.save(portalCfg);
userPortalCfg = userPortalConfigSer_.getUserPortalConfig("classic", "root");
portalCfg = userPortalCfg.getPortalConfig();
assertEquals("fr", portalCfg.getLocale());
}
}.execute("root");
}