### Question:
NotificationConstants { @RequiresApi(api = Build.VERSION_CODES.O) private static void createNormalChannel(Context context) { NotificationManager mNotificationManager = (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE); if (mNotificationManager.getNotificationChannel(CHANNEL_NORMAL_ID) == null) { NotificationChannel mChannel = new NotificationChannel( CHANNEL_NORMAL_ID, context.getString(R.string.channel_name_normal), NotificationManager.IMPORTANCE_MIN); mChannel.setDescription(context.getString(R.string.channel_description_normal)); mNotificationManager.createNotificationChannel(mChannel); } }  static void setMetadata(
      Context context, NotificationCompat.Builder notification, int type); static final int COPY_ID; static final int EXTRACT_ID; static final int ZIP_ID; static final int DECRYPT_ID; static final int ENCRYPT_ID; static final int FTP_ID; static final int FAILED_ID; static final int WAIT_ID; static final int TYPE_NORMAL; static final String CHANNEL_NORMAL_ID; static final String CHANNEL_FTP_ID; }### Answer:
@Test @Config(minSdk = O) public void testCreateNormalChannel() { NotificationCompat.Builder builder = new NotificationCompat.Builder(context, CHANNEL_NORMAL_ID); NotificationConstants.setMetadata(context, builder, TYPE_NORMAL); List<Object> channels = shadowNotificationManager.getNotificationChannels(); assertNotNull(channels); assertEquals(1, channels.size()); NotificationChannel channel = (NotificationChannel) channels.get(0); assertEquals(IMPORTANCE_MIN, channel.getImportance()); assertEquals(CHANNEL_NORMAL_ID, channel.getId()); assertEquals(context.getString(R.string.channel_name_normal), channel.getName()); assertEquals(context.getString(R.string.channel_description_normal), channel.getDescription()); }