### Question:
ValueMetaInternetAddress extends ValueMetaDate { @Override public BigDecimal getBigNumber( Object object ) throws HopValueException { InetAddress address = getInternetAddress( object ); if ( null == address ) { return null; } BigInteger bi = BigInteger.ZERO; byte[] addr = address.getAddress(); for ( byte aByte : addr ) { bi = bi.shiftLeft( 8 ).add( BigInteger.valueOf( aByte & 0xFF ) ); } return new BigDecimal( bi ); } ValueMetaInternetAddress();  ValueMetaInternetAddress( String name ); @Override int compare( Object data1, Object data2 ); InetAddress getInternetAddress( Object object ); @Override Date getDate( Object object ); @Override Long getInteger( Object object ); @Override Double getNumber( Object object ); @Override BigDecimal getBigNumber( Object object ); @Override Boolean getBoolean( Object object ); @Override String getString( Object object ); @Override byte[] getBinaryString( Object object ); @Override Object convertDataFromString( String pol, IValueMeta convertMeta, String nullIf, String ifNull,
                                       int trim_type ); @Override Object convertData( IValueMeta meta2, Object data2 ); @Override Object cloneValueData( Object object ); @Override IValueMeta getMetadataPreview( DatabaseMeta databaseMeta, ResultSet rs ); @Override IValueMeta getValueFromSqlType(DatabaseMeta databaseMeta, String name, ResultSetMetaData rm,
                                        int index, boolean ignoreLength, boolean lazyConversion ); @Override Object getValueFromResultSet( IDatabase iDatabase, ResultSet resultSet, int index ); @Override void setPreparedStatementValue( DatabaseMeta databaseMeta, PreparedStatement preparedStatement,
                                         int index, Object data ); @Override String getDatabaseColumnTypeDefinition( IDatabase iDatabase, String tk, String pk,
                                                 boolean use_autoinc, boolean add_fieldname, boolean add_cr ); @Override Object getNativeDataType( Object object ); @Override Class<?> getNativeDataTypeClass();  }### Answer:
@Test public void testGetBigNumber_NullParameter() throws UnknownHostException, HopValueException { ValueMetaInternetAddress vm = new ValueMetaInternetAddress(); assertNull( vm.getBigNumber( null ) ); }
@Test public void testGetBigNumber_Success() throws UnknownHostException, HopValueException { ValueMetaInternetAddress vm = new ValueMetaInternetAddress(); String[] addresses = { "1080:0:0:0:8:800:200C:417A", "1080::8:800:200C:417A", "::1", "0:0:0:0:0:0:0:1", "::", "0:0:0:0:0:0:0:0", "::d", "::ffff:0:0", "::ffff:d", "::ffff:127.0.0.1", "::0.0.0.0", "::255.255.0.10", "192.168.10.0", "0.0.0.1", "0.0.0.0", "127.0.0.1", "255.255.0.10", "192.0.2.235" }; for ( String address : addresses ) { InetAddress addr = InetAddress.getByName( address ); vm.getBigNumber( addr ); } }