### Question:
RangeGeometries { public static <N extends Number & Comparable<? super N>> Rectangle closedOpen(final N lower, final N upper) { checkNotNull(lower); checkNotNull(upper); return range(Range.closedOpen(lower, upper)); } private  RangeGeometries(); static Point singleton(final N value); static Rectangle closed(final N lower, final N upper); static Rectangle closedOpen(final N lower, final N upper); static Rectangle openClosed(final N lower, final N upper); static Rectangle open(final N lower, final N upper); static Rectangle range(final Range<N> range);  }### Answer:
@Test(expected=NullPointerException.class) public void testClosedOpenNullLower() { closedOpen(null, 42L); }
@Test(expected=NullPointerException.class) public void testClosedOpenNullUpper() { closedOpen(24L, null); }
@Test public void testClosedOpen() { assertEquals(Geometries.rectangle(24.0d, 0.0d, 41.0d, 1.0d), closedOpen(24L, 42L)); }