### Question:
Cnt { public int d(int a, int b) { if (b == 0) return Integer.MAX_VALUE; else return a / b; }  int d(int a, int b);  }### Answer:
@Test public void whenSecondParamIsZeroShouldReturnIntMax(){ service = new Cnt(); int answer = service.d(100,0); assertEquals(Integer.MAX_VALUE, answer); }