question: preliminary test method to validate the inetaddress behaviour v4 and v6 name and address . the inetaddress.tostring returns a string with format `` name/ip _ address '' . it has no indication of subnetmask . the name is optional . concode_field_sep InetAddress address concode_field_sep void testInet6Network concode_elem_sep void testInet4Address concode_elem_sep void testInet6Address concode_elem_sep void testInet4Network concode_elem_sep byte[] getBytesFromAddress
target: void function ( ) { address = InetAddress . getByName ( "srini_string" ) ; assertEquals ( true , address instanceof InetAddress ) ; assertEquals ( true , address . toString ( ) . contains ( "srini_string" ) ) ; }