Class DeepCopyTest
- java.lang.Object
-
- de.hybris.platform.payment.bean.generation.DeepCopyTest
-
@UnitTest public class DeepCopyTest extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringGERMANYstatic java.lang.StringJAN_KOWALSKIstatic java.lang.StringMUNICHstatic java.lang.StringOTTO_NORMALVERBRAUCHERstatic java.lang.StringPOLANDstatic java.lang.StringWROCLAW
-
Constructor Summary
Constructors Constructor Description DeepCopyTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidassertDeepCopy(CardInfo sourceCardInfo, CardInfo targetCardInfo)protected voidassertPropertiesCopied(CardInfo sourceCardInfo, CardInfo targetCardInfo)protected CardInfocreateCardInfo(java.lang.String city, java.lang.String country, java.lang.String cardholderName)voidshouldCreateNewObjectsInsteadOfReusingReferencesOnCopy()
-
-
-
Field Detail
-
WROCLAW
public static final java.lang.String WROCLAW
- See Also:
- Constant Field Values
-
POLAND
public static final java.lang.String POLAND
- See Also:
- Constant Field Values
-
JAN_KOWALSKI
public static final java.lang.String JAN_KOWALSKI
- See Also:
- Constant Field Values
-
MUNICH
public static final java.lang.String MUNICH
- See Also:
- Constant Field Values
-
GERMANY
public static final java.lang.String GERMANY
- See Also:
- Constant Field Values
-
OTTO_NORMALVERBRAUCHER
public static final java.lang.String OTTO_NORMALVERBRAUCHER
- See Also:
- Constant Field Values
-
-
Method Detail
-
shouldCreateNewObjectsInsteadOfReusingReferencesOnCopy
public void shouldCreateNewObjectsInsteadOfReusingReferencesOnCopy() throws java.lang.Exception- Throws:
java.lang.Exception
-
assertPropertiesCopied
protected void assertPropertiesCopied(CardInfo sourceCardInfo, CardInfo targetCardInfo)
-
createCardInfo
protected CardInfo createCardInfo(java.lang.String city, java.lang.String country, java.lang.String cardholderName)
-
-