@Test
public void testGetRoundCornerEnd() throws Exception {

  PointF topLeft = createBorderCorner(TOP_LEFT, 25, 10, 50, borderBox)
      .getRoundCornerEnd();
  assertThat(topLeft.x, is(25f));
  assertThat(topLeft.y, is(25f));
  PointF topRight = createBorderCorner(TOP_RIGHT, 25, 10, 50, borderBox)
      .getRoundCornerEnd();
  assertThat(topRight.x, is(375f));
  assertThat(topRight.y, is(25f));
  PointF bottomRight = createBorderCorner(BOTTOM_RIGHT, 25, 10, 50, borderBox)
      .getRoundCornerEnd();
  assertThat(bottomRight.x, is(375f));
  assertThat(bottomRight.y, is(375f));
  PointF bottomLeft = createBorderCorner(BOTTOM_LEFT, 25, 10, 50, borderBox)
      .getRoundCornerEnd();
  assertThat(bottomLeft.x, is(25f));
  assertThat(bottomLeft.y, is(375f));
}