@Test
public void testConvertToLong() {

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