@IntegrationTest public class AddressServiceTest extends ServicelayerTransactionalBaseTest
AddressService.defaultLanguage, jaloSession| Constructor and Description |
|---|
AddressServiceTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
testAddressDuplicateAttributeIsSetOnSave() |
void |
testAddressTypeQualifierDynamicAttribute() |
void |
testCloneAddress() |
void |
testCloneAddressWithOriginal() |
void |
testCloneAddressWithSelfReference()
Tests the cloning of addresses with a self-reference in the 'original' attribute.
|
void |
testCreateAddressForUser() |
void |
testGetAddressesForOwner() |
void |
testRemoveAddressFromUser() |
void |
testRemoveUserWithAddress() |
autowireProperties, getApplicationContext, getBeanName, prepareApplicationContextAndSessionfinish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivatedpublic void testCreateAddressForUser()
public void testGetAddressesForOwner()
public void testCloneAddress()
public void testCloneAddressWithOriginal()
public void testCloneAddressWithSelfReference()
The ModelService.clone(Object) is used for cloning.
The expected behavior is that the cloning works and the 'original' attribute in the clone is null ,
because an attribute, which is required for creation and contains a self-reference, is skipped during cloning. See
also PLA-10356.
public void testRemoveUserWithAddress()
public void testRemoveAddressFromUser()
public void testAddressDuplicateAttributeIsSetOnSave()
public void testAddressTypeQualifierDynamicAttribute()
Copyright © 2017 SAP SE. All Rights Reserved.