Class UpdateRelationsTest

    • Constructor Detail

      • UpdateRelationsTest

        public UpdateRelationsTest()
    • Method Detail

      • 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)