@Test
public void testParseInt() {

    assertThat(Boroughs.parseInt("1")).isEqualTo(1);
    assertThat(Boroughs.parseInt("2")).isEqualTo(2);
    assertThat(Boroughs.parseInt("3")).isEqualTo(3);
    assertThat(Boroughs.parseInt("4")).isEqualTo(4);
    assertThat(Boroughs.parseInt("5")).isEqualTo(5);
    assertThat(Boroughs.parseInt("12")).isEqualTo(12);
    assertThat(Boroughs.parseInt("-78")).isEqualTo(-78);
    assertThat(Boroughs.parseInt("Manhattan")).isEqualTo(1);
    assertThat(Boroughs.parseInt("MN")).isEqualTo(1);
    assertThat(Boroughs.parseInt("BRONX")).isEqualTo(2);
    assertThat(Boroughs.parseInt("bx")).isEqualTo(2);
    assertThat(Boroughs.parseInt("brooklyn")).isEqualTo(3);
    assertThat(Boroughs.parseInt("bk")).isEqualTo(3);
    assertThat(Boroughs.parseInt("qUeeNs")).isEqualTo(4);
    assertThat(Boroughs.parseInt("qN")).isEqualTo(4);
    assertThat(Boroughs.parseInt("staten island")).isEqualTo(5);
    assertThat(Boroughs.parseInt("STATEN IS")).isEqualTo(5);
    assertThat(Boroughs.parseInt("si")).isEqualTo(5);
    assertThat(Boroughs.parseInt("man")).isEqualTo(Boroughs.UNPARSABLE_BOROUGH_CODE_SENTINEL_VALUE);
}