assertEquals("Test for language", "no", result.get("language"));
assertEquals("Test for country", "NO", result.get("country"));
assertEquals("Test for variant", "B", result.get("variant"));
// 6. Session attribute
MockSession session = (MockSession) getRequest().getSession();
session.setAttribute("locale", "th_TH_TH");
result = act("locale3", null, parameters);
assertNotNull("Action should always succeed", result);
assertEquals("Test for locale", "th_TH_TH", result.get("locale"));
assertEquals("Test for language", "th", result.get("language"));
assertEquals("Test for country", "TH", result.get("country"));