test_class.file: utils/src/test/java/com/cloud/utils/rest/HttpStatusCodeHelperTest.java
test_class.identifier: HttpStatusCodeHelperTest
test_case.body: @Test
      public void testIsUnauthorized() throws Exception {
          assertThat(HttpStatusCodeHelper.isUnauthorized(HttpStatus.SC_TEMPORARY_REDIRECT), equalTo(false));
          assertThat(HttpStatusCodeHelper.isUnauthorized(HttpStatus.SC_BAD_REQUEST), equalTo(false));
  
          assertThat(HttpStatusCodeHelper.isUnauthorized(HttpStatus.SC_UNAUTHORIZED), equalTo(true));
  
          assertThat(HttpStatusCodeHelper.isUnauthorized(HttpStatus.SC_PAYMENT_REQUIRED), equalTo(false));
          assertThat(HttpStatusCodeHelper.isUnauthorized(HttpStatus.SC_FORBIDDEN), equalTo(false));
      }
test_case.class_method_signature: HttpStatusCodeHelperTest.testIsUnauthorized()
test_case.full_signature: @Test public void testIsUnauthorized()
test_case.identifier: testIsUnauthorized
test_case.invocations: assertThat isUnauthorized equalTo assertThat isUnauthorized equalTo assertThat isUnauthorized equalTo assertThat isUnauthorized equalTo assertThat isUnauthorized equalTo
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testIsUnauthorized()
focal_class.file: utils/src/main/java/com/cloud/utils/rest/HttpStatusCodeHelper.java
focal_class.identifier: HttpStatusCodeHelper
focal_class.class_method_signature: HttpStatusCodeHelper.isSuccess(final int statusCode)
focal_class.full_signature: public static boolean isSuccess(final int statusCode)
focal_class.identifier: isSuccess
focal_class.modifiers: public static
focal_class.parameters: (final int statusCode)
focal_class.return: boolean
focal_class.signature: boolean isSuccess(final int statusCode)
focal_class.class_method_signature: HttpStatusCodeHelper.isUnauthorized(final int statusCode)
focal_class.full_signature: public static boolean isUnauthorized(final int statusCode)
focal_class.identifier: isUnauthorized
focal_class.modifiers: public static
focal_class.parameters: (final int statusCode)
focal_class.return: boolean
focal_class.signature: boolean isUnauthorized(final int statusCode)
focal_method.body: public static boolean isUnauthorized(final int statusCode) {
          return statusCode == HttpStatus.SC_UNAUTHORIZED;
      }
focal_method.class_method_signature: HttpStatusCodeHelper.isUnauthorized(final int statusCode)
focal_method.full_signature: public static boolean isUnauthorized(final int statusCode)
focal_method.identifier: isUnauthorized
focal_method.modifiers: public static
focal_method.parameters: (final int statusCode)
focal_method.return: boolean
focal_method.signature: boolean isUnauthorized(final int statusCode)