### Question:
Util { static int leastPowerOf2GreaterThanOrEqualTo(int n) { return n > 1 ? Integer.highestOneBit(n - 1) << 1 : 1; } private  Util(); static void checkLatLong(double lat, double lon); static void checkLat(double lat); static void checkLong(double lon); static void checkArgument(boolean b, String message); static AisExtractorFactory getAisExtractorFactory(); static void checkMessageId(int messageId, AisMessageType... messageTypes); static boolean areEqual(int i, int j); static boolean isClassAPositionReport(int messageId);  }### Answer:
@Test public void testLeastPowerOf2Given0Returns1() { assertEquals(1,Util.leastPowerOf2GreaterThanOrEqualTo(0)); }
@Test public void testLeastPowerOf2Given1Returns1() { assertEquals(1,Util.leastPowerOf2GreaterThanOrEqualTo(1)); }
@Test public void testLeastPowerOf2Given2() { assertEquals(2,Util.leastPowerOf2GreaterThanOrEqualTo(2)); }
@Test public void testLeastPowerOf2Given3() { assertEquals(4,Util.leastPowerOf2GreaterThanOrEqualTo(3)); }
@Test public void testLeastPowerOf2Given127() { assertEquals(128,Util.leastPowerOf2GreaterThanOrEqualTo(127)); }