@UnitTest public class DeepCopyTest extends java.lang.Object
| Modifier and Type | Field and 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 and Description |
|---|
DeepCopyTest() |
| Modifier and Type | Method and 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() |
public static final java.lang.String WROCLAW
public static final java.lang.String POLAND
public static final java.lang.String JAN_KOWALSKI
public static final java.lang.String MUNICH
public static final java.lang.String GERMANY
public static final java.lang.String OTTO_NORMALVERBRAUCHER
public void shouldCreateNewObjectsInsteadOfReusingReferencesOnCopy()
throws java.lang.Exception
java.lang.Exceptionprotected void assertPropertiesCopied(CardInfo sourceCardInfo, CardInfo targetCardInfo)
protected CardInfo createCardInfo(java.lang.String city, java.lang.String country, java.lang.String cardholderName)
Copyright © 2018 SAP SE. All Rights Reserved.