METHOD_0 ( ) { @ org . IDENT_0 . IDENT_1 . component . IDENT_2 . METHOD_1 ( STRING_0 ) java . util . ArrayList < java . lang . String > array = new java . util . ArrayList < java . lang . String > ( ) { { add ( STRING_1 ) ; } } ; org . IDENT_0 . IDENT_1 . core . component . IDENT_3 IDENT_4 = org . IDENT_5 . api . mockito . IDENT_6 . METHOD_2 ( new org . IDENT_0 . IDENT_1 . core . component . METHOD_3 ( ) ) ; org . IDENT_5 . api . mockito . IDENT_6 . doReturn ( STRING_2 ) . when ( IDENT_4 , STRING_3 , org . IDENT_0 . IDENT_1 . component . IDENT_2 . IDENT_7 . IDENT_8 ) ; org . IDENT_5 . api . mockito . IDENT_6 . doReturn ( array ) . when ( IDENT_4 , STRING_4 , anyString ( ) , anyString ( ) ) ; org . IDENT_5 . api . mockito . IDENT_6 . doReturn ( IDENT_4 ) . when ( target , STRING_5 ) ; org . IDENT_5 . api . mockito . IDENT_6 . doReturn ( org . IDENT_0 . IDENT_1 . component . IDENT_2 . IDENT_7 . IDENT_9 ) . when ( target , STRING_6 , STRING_7 ) ; java . util . Map < java . lang . String , org . IDENT_0 . IDENT_1 . core . component . network . IDENT_10 . IDENT_11 > IDENT_12 = new java . util . HashMap < java . lang . String , org . IDENT_0 . IDENT_1 . core . component . network . IDENT_10 . IDENT_11 > ( ) ; org . IDENT_0 . IDENT_1 . core . component . network . IDENT_10 . Node IDENT_13 = new org . IDENT_0 . IDENT_1 . core . component . network . IDENT_10 . Node ( STRING_8 , STRING_9 , IDENT_12 , new java . util . HashMap < java . lang . String , java . lang . String > ( ) ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( java . lang . String , org . IDENT_0 . IDENT_1 . core . component . network . IDENT_10 . Node ) { org . IDENT_0 . IDENT_1 . component . IDENT_2 . IDENT_14 . log . debug ( "" ) ; java . lang . String IDENT_15 = METHOD_5 ( ) . METHOD_6 ( IDENT_16 ) ; if ( ( IDENT_15 != null ) && ( IDENT_15 . equals ( org . IDENT_0 . IDENT_1 . component . IDENT_2 . IDENT_14 . IDENT_17 ) ) ) { return false ; } java . lang . String IDENT_18 = METHOD_7 ( org . IDENT_0 . IDENT_1 . component . IDENT_2 . IDENT_14 . IDENT_17 ) ; if ( IDENT_18 == null ) { return false ; } org . IDENT_0 . IDENT_1 . core . component . IDENT_19 IDENT_20 = METHOD_8 ( ) . get ( IDENT_18 ) ; if ( ( ( node . METHOD_9 ( ) ) != null ) && ( ( node . METHOD_9 ( ) . size ( ) ) != 0 ) ) { for ( java . lang . String IDENT_21 : node . METHOD_9 ( ) . METHOD_10 ( ) ) { org . IDENT_0 . IDENT_1 . core . component . network . IDENT_10 . IDENT_11 IDENT_22 = node . METHOD_11 ( IDENT_21 ) ; java . lang . String IDENT_23 = METHOD_12 ( IDENT_16 , IDENT_22 . METHOD_13 ( ) , IDENT_22 . getId ( ) ) ; if ( IDENT_23 == null ) { continue ; } java . lang . String [ ] IDENT_24 = IDENT_23 . split ( STRING_10 ) ; IDENT_20 . METHOD_14 ( IDENT_24 [ 1 ] , IDENT_24 [ 2 ] ) ; } } java . util . List < java . lang . String > IDENT_25 = METHOD_5 ( ) . METHOD_13 ( IDENT_18 , this . METHOD_15 ( ) ) ; if ( ( IDENT_25 . size ( ) ) == 1 ) { return true ; } METHOD_5 ( ) . METHOD_16 ( IDENT_16 , node . getId ( ) ) ; return false ; }
org . junit . Assert . assertThat ( target . METHOD_4 ( org . IDENT_0 . IDENT_1 . component . IDENT_2 . IDENT_7 . IDENT_8 , IDENT_13 ) , org . hamcrest . CoreMatchers . is ( true ) )