@Test
public void testConvertToInt() {

  final Object[][] testParameters =
      new Object[][] {{"1", 1}, {"10", 10}, {"100", 100}, {"Not", 0}};
  for (final Object[] testParameter : testParameters) {
    int expected = (Integer) testParameter[1];
    String val = (String) testParameter[0];
    assertEquals(expected, ParsingUtils.convertToInt(val));
  }
}