* Verify that intervals overlapping just on an inclusive bound intersect to
* a point.
*/
@Test
public void intersectionPoint() {
final IntegerInterval a = interval( null, 2 );
final IntegerInterval b = interval( 2, null );
final IntegerInterval expected = new IntegerInterval( Integer.valueOf( 2 ) );
assertEquals( expected, a.intersection( b ) );
assertEquals( expected, b.intersection( a ) );
assertTrue( a.intersection( b ).contains( Integer.valueOf( 2 ) ) );