void function ( ) { Assert . assertEquals ( NetworkAddressUtils . resolveHostName ( "srini_string" ) , null ) ; Assert . assertEquals ( NetworkAddressUtils . resolveHostName ( null ) , null ) ; Assert . assertEquals ( NetworkAddressUtils . resolveHostName ( "srini_string" ) , "srini_string" ) ; }
tests the networkaddressutils #resolvehostname string method . concode_field_sep PlaceHolder placeHolder concode_field_sep void replaceHostName concode_elem_sep void getFqdnHost concode_elem_sep void getDefaultClientHostname concode_elem_sep void getConfiguredClientHostname concode_elem_sep void after concode_elem_sep void testGetBindAddress concode_elem_sep void testGetConnectAddress concode_elem_sep void getBindAddress concode_elem_sep void getConnectAddress