@Test
void testOverflow() {

  long test = 5 * 1000L * 1000L * 1000L * 1000L * 1000L;
  try {
    UnitsConversionUtil.convert("P", "p", test);
    fail("this operation should result in an overflow");
  } catch (IllegalArgumentException ie) {
    // do nothing
  }
  try {
    UnitsConversionUtil.convert("m", "p", Long.MAX_VALUE - 1);
    fail("this operation should result in an overflow");
  } catch (IllegalArgumentException ie) {
    // do nothing
  }
}