test_class.file: sdk-libs/halo-notifications/src/test/java/com/mobgen/halo/android/notifications/decorator/NotificationMessageDecoratorTest.java
test_class.identifier: NotificationMessageDecoratorTest
test_class.superclass: extends BaseNotificationDecoratorTest<NotificationMessageDecorator>
test_case.body: @Test
      public void emptyMessageTest() {
          final boolean[] marker = new boolean[1];
          Bundle bundle = BundleTestUtils.builder().build();
          when(getBuilder().setContentText(any(String.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: NotificationMessageDecoratorTest.emptyMessageTest()
test_case.full_signature: @Test public void emptyMessageTest()
test_case.identifier: emptyMessageTest
test_case.invocations: build builder then when setContentText getBuilder any decorate getDecorator getBuilder assertFalse
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void emptyMessageTest()
focal_class.file: sdk-libs/halo-notifications/src/main/java/com/mobgen/halo/android/notifications/decorator/NotificationMessageDecorator.java
focal_class.identifier: NotificationMessageDecorator
focal_class.class_method_signature: NotificationMessageDecorator.NotificationMessageDecorator(HaloNotificationDecorator decorator)
focal_class.full_signature: public  NotificationMessageDecorator(HaloNotificationDecorator decorator)
focal_class.identifier: NotificationMessageDecorator
focal_class.modifiers: public
focal_class.parameters: (HaloNotificationDecorator decorator)
focal_class.signature:  NotificationMessageDecorator(HaloNotificationDecorator decorator)
focal_class.class_method_signature: NotificationMessageDecorator.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 message = bundle.getString("body");
          if (!TextUtils.isEmpty(message)) {
              builder.setContentText(message);
          }
          return chain(builder, bundle);
      }
focal_method.class_method_signature: NotificationMessageDecorator.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 setContentText 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)