// "Replace with 'Math.min()' call" "true"
class Test {

  void test(int maxDrain) {
      /*2*/
      /*3*/
      /*4*/
      /*5*/
      /*6*/
      int /*0*/drained = /*1*/Math.min(10, maxDrain);
  }
}