Package de.hybris.platform.testframework
Class PropertyConfigSwitcher
java.lang.Object
de.hybris.platform.testframework.PropertyConfigSwitcher
This class is a helper for temporarily switch property configuration for testing purposes.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidSwitches property back to the default.voidswitchToValue(String value) Switches property to the given value.
-
Constructor Details
-
PropertyConfigSwitcher
-
-
Method Details
-
switchToValue
Switches property to the given value. Usually usable in the setUp method of the test. -
switchBackToDefault
public void switchBackToDefault()Switches property back to the default. Usually usable in the tearDown method of the test.
-