@Test (expected = IllegalArgumentException.class) public void getShiftedValue_zero() { double value = PrivateFraction.getShiftedValue(6,0); }
public static double getShiftedValue(int a, int b){ if (b == 0) { throw new IllegalArgumentException(); } return getValue(a,b); }
PrivateFraction { public static double getShiftedValue(int a, int b){ if (b == 0) { throw new IllegalArgumentException(); } return getValue(a,b); } }
PrivateFraction { public static double getShiftedValue(int a, int b){ if (b == 0) { throw new IllegalArgumentException(); } return getValue(a,b); }  }
PrivateFraction { public static double getShiftedValue(int a, int b){ if (b == 0) { throw new IllegalArgumentException(); } return getValue(a,b); }  static double getShiftedValue(int a, int b); }
PrivateFraction { public static double getShiftedValue(int a, int b){ if (b == 0) { throw new IllegalArgumentException(); } return getValue(a,b); }  static double getShiftedValue(int a, int b);  }