@Test
public void testRotate() {

    RectangularBox victim = RectangularBox.newInstance(0, 1, 10, 9);
    victim.rotate(Rotation.DEGREES_270);
    assertEquals(1, victim.getBottom());
    assertEquals(0, victim.getLeft());
    assertEquals(9, victim.getTop());
    assertEquals(10, victim.getRight());
}