### Question:
QueryLocation { public static QueryLocation fromRadians(double latitude, double longitude) { QueryLocation queryLocation = new QueryLocation(); queryLocation.latitude = latitude; queryLocation.longitude = longitude; queryLocation.checkBounds(); return queryLocation; }  static QueryLocation fromRadians(double latitude, double longitude); static QueryLocation fromDegrees(double latitude, double longitude); double getLatitude(); double getLongitude();  }### Answer:
@Test(expected = IllegalArgumentException.class) public void testThatOutOfBoundsRadiansThrowsInvalidArgumentException(){ QueryLocation.fromRadians(INVALID_LAT_RADIANS, INVALID_LNG_RADIANS); }