@Test
public void testIntersectsRectangleReturnsFalseForRectangleOutsideBoundingBox() {

    PathDetail pathDetail = new PathDetail(Coord2D.ORIGIN, Colour.BLACK);
    pathDetail.lineTo(new Coord2D(1.5, 1.5));
    Assert.assertFalse(
            pathDetail.intersectsRectangle(new Coord2D(2, 2), new Coord2D(3, 3)));
}