METHOD_0 ( ) { com . IDENT_0 . IDENT_1 . api . models . IDENT_2 address = new com . IDENT_0 . IDENT_1 . api . models . METHOD_1 ( STRING_0 ) ; network . METHOD_2 ( IDENT_3 ) ; network . METHOD_2 ( IDENT_4 ) ; com . IDENT_0 . IDENT_1 . api . IDENT_5 found = network . METHOD_3 ( address ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( com . IDENT_0 . IDENT_1 . api . models . IDENT_6 ) { if ( ( IDENT_7 . METHOD_4 ( ) ) == ( com . IDENT_0 . IDENT_1 . api . models . IDENT_8 . IDENT_9 ) ) throw new com . IDENT_0 . IDENT_1 . api . exceptions . METHOD_5 ( STRING_1 ) ; if ( ( IDENT_7 . METHOD_4 ( ) ) == ( com . IDENT_0 . IDENT_1 . api . models . IDENT_8 . IDENT_10 ) ) throw new com . IDENT_0 . IDENT_1 . api . exceptions . METHOD_5 ( STRING_2 ) ; if ( address == null ) throw new java . lang . METHOD_6 ( STRING_3 ) ; if ( address . equals ( IDENT_6 . IDENT_11 ) ) throw new java . lang . IllegalArgumentException ( STRING_4 ) ; logger . debug ( STRING_5 , IDENT_7 . toString ( ) , address ) ; com . IDENT_0 . IDENT_1 . api . IDENT_5 IDENT_12 = null ; java . util . Collection < com . IDENT_0 . IDENT_1 . api . IDENT_5 > IDENT_13 = IDENT_14 . values ( ) ; for ( com . IDENT_0 . IDENT_1 . api . IDENT_5 d : IDENT_13 ) { com . IDENT_0 . IDENT_1 . api . models . IDENT_6 a = METHOD_7 ( d ) ; if ( ( a != null ) && ( a . equals ( address ) ) ) { IDENT_12 = d ; break ; } } if ( IDENT_12 == null ) IDENT_12 = IDENT_15 . get ( address ) ; return IDENT_12 ; }
org . junit . Assert . assertEquals ( IDENT_4 , found )