### Question:
EmbulkSystemProperties extends Properties { private static int parseInteger(final String text) { final String textTrimmed = text.trim(); final int length = textTrimmed.length(); if ("null".equals(textTrimmed)) { throw new NullPointerException("\"" + text + "\" is considered to be null."); } if (length > 9) { final long longValue = Long.parseLong(textTrimmed); if (longValue < Integer.MIN_VALUE || longValue > Integer.MAX_VALUE) { throw new NumberFormatException("Overflow: \"" + text + "\" is out of range of int."); } return Integer.valueOf((int) longValue); } if (length == 0) { throw new NullPointerException("\"" + text + "\" is considered to be an empty string."); } return Integer.valueOf(parseIntegerInternal(textTrimmed)); } private  EmbulkSystemProperties(final Properties inner); static EmbulkSystemProperties of(final Properties mutable); boolean getPropertyAsBoolean(final String key, final boolean defaultValue); int getPropertyAsInteger(final String key, final int defaultValue); @Override // From Properties void load(final InputStream inStream); @Override // From Properties void load(final Reader reader); @Override // From Properties void loadFromXML(final InputStream in); @Override // From Properties Object setProperty(final String key, final String value); @Override // From Hashtable void clear(); @Override // From Hashtable Object compute(
            final Object key, final BiFunction<? super Object, ? super Object, ? extends Object> remappingFunction); @Override // From Hashtable Object computeIfAbsent(
            final Object key, final Function<? super Object, ? extends Object> mappingFunction); @Override // From Hashtable Object computeIfPresent(
            final Object key, final BiFunction<? super Object, ? super Object, ? extends Object> remappingFunction); @Override // From Hashtable Set<Map.Entry<Object, Object>> entrySet(); @Override // From Hashtable void forEach(final BiConsumer<? super Object, ? super Object> action); @Override // From HashTable Set<Object> keySet(); @Override // From HashTable Object merge(
            final Object key, final Object value,
            final BiFunction<? super Object, ? super Object, ? extends Object> remappingFunction); @Override // From HashTable Object put(final Object key, final Object value); @Override // From HashTable void putAll(final Map<? extends Object, ? extends Object> t); @Override // From HashTable Object putIfAbsent(final Object key, final Object value); @Override // From HashTable Object remove(final Object key); @Override // From HashTable boolean remove(final Object key, final Object value); @Override // From HashTable Object replace(final Object key, final Object value); @Override // From HashTable boolean replace(final Object key, final Object oldValue, final Object newValue); @Override // From HashTable void replaceAll(final BiFunction<? super Object, ? super Object, ? extends Object> function); @Override // From Hashtable Collection<Object> values();  }### Answer:
@Test public void testParseInteger() { assertInteger("11", 11, 1234); assertInteger(" 13", 13, 1234); assertInteger(" 17 ", 17, 1234); assertInteger("111111111", 111111111, 1234); assertInteger("-11", -11, 1234); }