test_class.file: utils/src/test/java/com/cloud/utils/rest/HttpStatusCodeHelperTest.java
test_class.identifier: HttpStatusCodeHelperTest
test_case.body: @Test
      public void testIsSuccess() throws Exception {
          assertThat(HttpStatusCodeHelper.isSuccess(HttpStatus.SC_SWITCHING_PROTOCOLS), equalTo(false));
          assertThat(HttpStatusCodeHelper.isSuccess(HttpStatus.SC_PROCESSING), equalTo(false));
  
          assertThat(HttpStatusCodeHelper.isSuccess(HttpStatus.SC_OK), equalTo(true));
          assertThat(HttpStatusCodeHelper.isSuccess(HttpStatus.SC_CREATED), equalTo(true));
          assertThat(HttpStatusCodeHelper.isSuccess(HttpStatus.SC_ACCEPTED), equalTo(true));
          assertThat(HttpStatusCodeHelper.isSuccess(HttpStatus.SC_NON_AUTHORITATIVE_INFORMATION), equalTo(true));
          assertThat(HttpStatusCodeHelper.isSuccess(HttpStatus.SC_NO_CONTENT), equalTo(true));
          assertThat(HttpStatusCodeHelper.isSuccess(HttpStatus.SC_RESET_CONTENT), equalTo(true));
          assertThat(HttpStatusCodeHelper.isSuccess(HttpStatus.SC_PARTIAL_CONTENT), equalTo(true));
          assertThat(HttpStatusCodeHelper.isSuccess(HttpStatus.SC_MULTI_STATUS), equalTo(true));
  
          assertThat(HttpStatusCodeHelper.isSuccess(HttpStatus.SC_MULTIPLE_CHOICES), equalTo(false));
          assertThat(HttpStatusCodeHelper.isSuccess(HttpStatus.SC_MOVED_PERMANENTLY), equalTo(false));
      }
test_case.class_method_signature: HttpStatusCodeHelperTest.testIsSuccess()
test_case.full_signature: @Test public void testIsSuccess()
test_case.identifier: testIsSuccess
test_case.invocations: assertThat isSuccess equalTo assertThat isSuccess equalTo assertThat isSuccess equalTo assertThat isSuccess equalTo assertThat isSuccess equalTo assertThat isSuccess equalTo assertThat isSuccess equalTo assertThat isSuccess equalTo assertThat isSuccess equalTo assertThat isSuccess equalTo assertThat isSuccess equalTo assertThat isSuccess equalTo
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testIsSuccess()
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 isSuccess(final int statusCode) {
          return statusCode >= HttpStatus.SC_OK && statusCode <= HttpStatus.SC_MULTI_STATUS;
      }
focal_method.class_method_signature: HttpStatusCodeHelper.isSuccess(final int statusCode)
focal_method.full_signature: public static boolean isSuccess(final int statusCode)
focal_method.identifier: isSuccess
focal_method.modifiers: public static
focal_method.parameters: (final int statusCode)
focal_method.return: boolean
focal_method.signature: boolean isSuccess(final int statusCode)