@Test
public void testHasOuterCorner() throws Exception {

  for (float preWidth : preWidthList) {
    for (float postWidth : postWidthList) {
      for (String corner : cornerList) {
        assertThat(createBorderCorner(corner, 0f, preWidth, postWidth, borderBox).hasOuterCorner(), is(false));
        assertThat(createBorderCorner(corner, 50f, preWidth, postWidth, borderBox)
                       .hasOuterCorner(), is(true));
        assertThat(createBorderCorner(corner, -10f, preWidth, postWidth, borderBox)
                       .hasOuterCorner(), is(false));
      }
    }
  }
}