Class GenericPopulatorConfigurerTest
java.lang.Object
de.hybris.platform.sap.core.test.SapcoretestSpringJUnitTest
de.hybris.platform.sap.core.test.SapcoreSpringJUnitTest
de.hybris.platform.sap.core.spring.GenericPopulatorConfigurerTest
@UnitTest
@ContextConfiguration(locations="GenericPopulatorConfigurerTest-spring.xml")
public class GenericPopulatorConfigurerTest
extends SapcoreSpringJUnitTest
Test for GenericPopulatorConfigurer.
-
Field Summary
Fields inherited from class de.hybris.platform.sap.core.test.SapcoreSpringJUnitTest
genericFactory, sapHybrisSessionProvider -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidExecutesGenericPopulatorConfigurer.addPopulatorsToConverter()to try to add an empty populator-list to the converter and controls if there is no populator contained in the converted afterwards.voidExecutesGenericPopulatorConfigurer.addPopulatorsToConverter()to add injected populator to injected converter and controls if it is contained in the converter afterwards.Methods inherited from class de.hybris.platform.sap.core.test.SapcoreSpringJUnitTest
getGenericFactory, setUp, tearDownMethods inherited from class de.hybris.platform.sap.core.test.SapcoretestSpringJUnitTest
getApplicationContext
-
Constructor Details
-
GenericPopulatorConfigurerTest
public GenericPopulatorConfigurerTest()
-
-
Method Details
-
testWithPopulator
public void testWithPopulator()ExecutesGenericPopulatorConfigurer.addPopulatorsToConverter()to add injected populator to injected converter and controls if it is contained in the converter afterwards. -
testWithoutPopulator
public void testWithoutPopulator()ExecutesGenericPopulatorConfigurer.addPopulatorsToConverter()to try to add an empty populator-list to the converter and controls if there is no populator contained in the converted afterwards.
-