### Question:
MathUtils { public static int signSafeMod(long dividend, int divisor) { int mod = (int) (dividend % divisor); if (mod < 0) { mod += divisor; } return mod; }  static int signSafeMod(long dividend, int divisor); static int findNextPositivePowerOfTwo(final int value); static long nowInNano(); static long elapsedMSec(long startNanoTime); static long elapsedMicroSec(long startNanoTime); static long elapsedNanos(long startNanoTime);  }### Answer:
@Test public void testSignSafeMod() { assertEquals(1, signSafeMod(11, 2)); assertEquals(1, signSafeMod(-11, 2)); assertEquals(1, signSafeMod(11, -2)); assertEquals(-3, signSafeMod(-11, -2)); }