@Test
public void testHasInnerCorner() throws Exception {

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