Class AddressServiceTest

All Implemented Interfaces:
JaloSessionHolder

@IntegrationTest public class AddressServiceTest extends ServicelayerTransactionalBaseTest
Integration tests for AddressService.
  • Constructor Details

    • AddressServiceTest

      public AddressServiceTest()
  • Method Details

    • testCreateAddressForUser

      public void testCreateAddressForUser()
    • testGetAddressesForOwner

      public void testGetAddressesForOwner()
    • testCloneAddress

      public void testCloneAddress()
    • testCloneAddressWithOriginal

      public void testCloneAddressWithOriginal()
    • testCloneAddressWithSelfReference

      public void testCloneAddressWithSelfReference()
      Tests the cloning of addresses with a self-reference in the 'original' attribute.

      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.

    • testRemoveUserWithAddress

      public void testRemoveUserWithAddress()
    • testRemoveAddressFromUser

      public void testRemoveAddressFromUser()
    • testAddressDuplicateAttributeIsSetOnSave

      public void testAddressDuplicateAttributeIsSetOnSave()
    • testAddressTypeQualifierDynamicAttribute

      public void testAddressTypeQualifierDynamicAttribute()