Class RestHelperWrapper
java.lang.Object
com.atlassian.bamboo.plugins.rest.common.RestHelperWrapper
This is a convenience wrapper to be able to mock RestHelper in unit testing
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
assertGlobalPermission
(@NotNull BambooPermission permission) void
assertGlobalPermission
(@NotNull BambooPermission permission, @NotNull String errorMessage) void
void
-
Constructor Details
-
RestHelperWrapper
public RestHelperWrapper()
-
-
Method Details
-
assertRestrictedAdminPermission
public void assertRestrictedAdminPermission() -
assertSystemAdminPermission
public void assertSystemAdminPermission() -
assertGlobalPermission
-
assertGlobalPermission
public void assertGlobalPermission(@NotNull @NotNull BambooPermission permission, @NotNull @NotNull String errorMessage) -
getI18nBean
-