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.String
GERMANY
static java.lang.String
JAN_KOWALSKI
static java.lang.String
MUNICH
static java.lang.String
OTTO_NORMALVERBRAUCHER
static java.lang.String
POLAND
static java.lang.String
WROCLAW
-
Constructor Summary
Constructors Constructor Description DeepCopyTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
assertDeepCopy(CardInfo sourceCardInfo, CardInfo targetCardInfo)
protected void
assertPropertiesCopied(CardInfo sourceCardInfo, CardInfo targetCardInfo)
protected CardInfo
createCardInfo(java.lang.String city, java.lang.String country, java.lang.String cardholderName)
void
shouldCreateNewObjectsInsteadOfReusingReferencesOnCopy()
-
-
-
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)
-
-