Class RestHelperWrapper


  • @Component
    public class RestHelperWrapper
    extends Object
    This is a convenience wrapper to be able to mock RestHelper in unit testing
    • Constructor Detail

      • RestHelperWrapper

        public RestHelperWrapper()
    • Method Detail

      • assertRestrictedAdminPermission

        public void assertRestrictedAdminPermission()
      • assertSystemAdminPermission

        public void assertSystemAdminPermission()
      • assertGlobalPermission

        public void assertGlobalPermission​(@NotNull
                                           @NotNull BambooPermission permission)
      • assertGlobalPermission

        public void assertGlobalPermission​(@NotNull
                                           @NotNull BambooPermission permission,
                                           @NotNull
                                           @NotNull String errorMessage)
      • getI18nBean

        public I18nBean getI18nBean()