CESNET/perun — pull request #37 by jirmauritz (2013-12-01 18:55:46+00:00)
Title: Core: FacilityManager.addAdmin edited, so as it throws right exception.

Core: FacilityManager.addAdmin edited, so as it throws right exception (AlreadyAdminException) instead of InternalErrorException, when one user is added more than once as admin.

The functionality is tested with the new written test addAdminWithTwoSameUsers in the FacilityManagerEntryIntegrationTest.