MathUtils { public static void checkNotNull(Object o, Localizable pattern, Object ... args) throws NullArgumentException { if (o == null) { throw new NullArgumentException(pattern, args); } } private  MathUtils(); static int hash(double value); static boolean equals(double x, double y); static int hash(double[] value); static double normalizeAngle(double a, double center); static double reduce(double a,
                                double period,
                                double offset); static byte copySign(byte magnitude, byte sign); static short copySign(short magnitude, short sign); static int copySign(int magnitude, int sign); static long copySign(long magnitude, long sign); static void checkFinite(final double x); static void checkFinite(final double[] val); static void checkNotNull(Object o,
                                    Localizable pattern,
                                    Object ... args); static void checkNotNull(Object o); static final double TWO_PI; static final double PI_SQUARED; }
@Test public void testCheckNotNull1() { try { Object obj = null; MathUtils.checkNotNull(obj); } catch (NullArgumentException e) { } }
@Test public void testCheckNotNull2() { try { double[] array = null; MathUtils.checkNotNull(array, LocalizedFormats.INPUT_ARRAY); } catch (NullArgumentException e) { } }