Class UpdateRelationsTest

All Implemented Interfaces:
JaloSessionHolder

@IntegrationTest public class UpdateRelationsTest extends ServicelayerTransactionalBaseTest
Tests to add new relation (next element) for existing model using setters.
  • Constructor Details

    • UpdateRelationsTest

      public UpdateRelationsTest()
  • Method Details

    • testAddNextUserToExistingGroupWithSetter

      public void testAddNextUserToExistingGroupWithSetter()
      Tests to add next user (member) to user group which is updated using setter setMembers.
    • testAddNextGroupToExistingUserWithSetter

      public void testAddNextGroupToExistingUserWithSetter()
      Test to add next group to existing user which is updated using setter setGroups and was created before - without finding user once again.
    • testAddGroupToExistingUserWithoutGroup

      public void testAddGroupToExistingUserWithoutGroup()
      Test to add first group to existing user

      My result passed

    • testAddNextGroupToExistingUserAlwaysSearchBeforeAddGroup

      public void testAddNextGroupToExistingUserAlwaysSearchBeforeAddGroup()
      Test to add next group to existing user which is updated using setter setGroups and was created before - with finding user once again after each update .
    • setModelService

      public void setModelService(ModelService modelService)