### Question:
Util { public static void checkLatLong(double lat, double lon) { checkArgument(lon <= 181.0, "longitude out of range " + lon); checkArgument(lon > -180.0, "longitude out of range " + lon); checkArgument(lat <= 91.0, "latitude out of range " + lat); checkArgument(lat > -90.0, "latitude out of range " + lat); } 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 testCheckLatLonNegative() { Util.checkLatLong(-20, -10); }
@Test public void testCheckLatLonPositive() { Util.checkLatLong(20, 10); }
@Test(expected = AisParseException.class) public void testCheckLatLonLatTooLow() { Util.checkLatLong(-90, 0); }
@Test public void testCheckLatLonLatAtLimit() { Util.checkLatLong(91, 0); }
@Test(expected = AisParseException.class) public void testCheckLatLonLatTooHigh() { Util.checkLatLong(92, 0); }
@Test(expected = AisParseException.class) public void testCheckLatLonLonTooLow() { Util.checkLatLong(0, -180); }
@Test public void testCheckLatLonLonAtLimit() { Util.checkLatLong(0, 181); }
@Test(expected = AisParseException.class) public void testCheckLatLonLonTooHigh() { Util.checkLatLong(0, 182); }
@Test public void testCheckLatLon() { Util.checkLatLong(0, 0); }