test_class.file: sdk-libs/halo-notifications/src/test/java/com/mobgen/halo/android/notifications/decorator/NotificationColorDecoratorTest.java
test_class.identifier: NotificationColorDecoratorTest
test_class.superclass: extends BaseNotificationDecoratorTest<NotificationColorDecorator>
test_case.body: @Test
      public void noColorSetTest() {
          final boolean[] marker = new boolean[1];
          Bundle bundle = BundleTestUtils.builder().build();
          when(getBuilder().setColor(any(Integer.class))).then(new Answer<Object>() {
              @Override
              public Object answer(InvocationOnMock invocation) throws Throwable {
                  marker[0] = true;
                  return null;
              }
          });
          getDecorator().decorate(getBuilder(), bundle);
          Assert.assertFalse(marker[0]);
      }
test_case.class_method_signature: NotificationColorDecoratorTest.noColorSetTest()
test_case.full_signature: @Test public void noColorSetTest()
test_case.identifier: noColorSetTest
test_case.invocations: build builder then when setColor getBuilder any decorate getDecorator getBuilder assertFalse
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void noColorSetTest()
focal_class.file: sdk-libs/halo-notifications/src/main/java/com/mobgen/halo/android/notifications/decorator/NotificationColorDecorator.java
focal_class.identifier: NotificationColorDecorator
focal_class.class_method_signature: NotificationColorDecorator.NotificationColorDecorator(HaloNotificationDecorator decorator)
focal_class.full_signature: public  NotificationColorDecorator(HaloNotificationDecorator decorator)
focal_class.identifier: NotificationColorDecorator
focal_class.modifiers: public
focal_class.parameters: (HaloNotificationDecorator decorator)
focal_class.signature:  NotificationColorDecorator(HaloNotificationDecorator decorator)
focal_class.class_method_signature: NotificationColorDecorator.decorate(@NonNull NotificationCompat.Builder builder, @NonNull Bundle bundle)
focal_class.full_signature: @Override public NotificationCompat.Builder decorate(@NonNull NotificationCompat.Builder builder, @NonNull Bundle bundle)
focal_class.identifier: decorate
focal_class.modifiers: @Override public
focal_class.parameters: (@NonNull NotificationCompat.Builder builder, @NonNull Bundle bundle)
focal_class.return: NotificationCompat.Builder
focal_class.signature: NotificationCompat.Builder decorate(@NonNull NotificationCompat.Builder builder, @NonNull Bundle bundle)
focal_class.superclass: extends HaloNotificationDecorator
focal_method.body: @Override
      public NotificationCompat.Builder decorate(@NonNull NotificationCompat.Builder builder, @NonNull Bundle bundle) {
          String color = bundle.getString("color");
          if (!TextUtils.isEmpty(color)) {
              builder.setColor(HaloUtils.getArgb(color));
          }
          return chain(builder, bundle);
      }
focal_method.class_method_signature: NotificationColorDecorator.decorate(@NonNull NotificationCompat.Builder builder, @NonNull Bundle bundle)
focal_method.full_signature: @Override public NotificationCompat.Builder decorate(@NonNull NotificationCompat.Builder builder, @NonNull Bundle bundle)
focal_method.identifier: decorate
focal_method.invocations: getString isEmpty setColor getArgb chain
focal_method.modifiers: @Override public
focal_method.parameters: (@NonNull NotificationCompat.Builder builder, @NonNull Bundle bundle)
focal_method.return: NotificationCompat.Builder
focal_method.signature: NotificationCompat.Builder decorate(@NonNull NotificationCompat.Builder builder, @NonNull Bundle bundle)