@Override
  public void initializeChannels(boolean isProduction) {
    if (mInitialized) throw new RuntimeException("Already initialized");

    for (NotificationChannels channel : NotificationChannels.values()) {
      if (isProduction && !channel.mIsProduction) continue;

      var notificationChannel =
          new NotificationChannelCompat.Builder(channel.mChannelId, channel.mImportance)
              .setName(channel.mChannelId)
              .setDescription(channel.mDescription)
              .setLightsEnabled(true)
              .setVibrationEnabled(true)
              .build();

      mManager.createNotificationChannel(notificationChannel);
    }
    mInitialized = true;
  }
@Test
  public void testInitializeChannelsForProduction() {
    var context = RuntimeEnvironment.getApplication();
    var manager = context.getSystemService(NotificationManager.class);
    Assert.assertEquals(0, manager.getNotificationChannels().size());

    mUnderTest.initializeChannels(true);

    Assert.assertEquals(2, manager.getNotificationChannels().size());
    Assert.assertTrue(
        manager.getNotificationChannels().stream()
            .filter(v -> Objects.equals(v.getId(), NotificationChannels.Tester.mChannelId))
            .findFirst()
            .isEmpty());
  }