Class LocalizationRule
- java.lang.Object
-
- org.junit.rules.ExternalResource
-
- de.hybris.platform.inboundservices.util.LocalizationRule
-
- All Implemented Interfaces:
org.junit.rules.TestRule
public class LocalizationRule extends org.junit.rules.ExternalResourceA rule for controlling the Platform session language in tests
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidafter()static LocalizationRuleinitialize()voidsetSessionLanguage(java.lang.String isoCode)Sets the current language to language identified byisoCode
-
-
-
Method Detail
-
initialize
public static LocalizationRule initialize()
-
setSessionLanguage
public void setSessionLanguage(java.lang.String isoCode)
Sets the current language to language identified byisoCode- Parameters:
isoCode- the isoCode of the Language to be set
-
after
protected void after()
- Overrides:
afterin classorg.junit.rules.ExternalResource
-
-