METHOD_0 ( ) { IDENT_0 . IDENT_1 = IDENT_1 ; final org . apache . IDENT_2 . network . IDENT_3 . IDENT_4 IDENT_5 = org . mockito . Mockito . mock ( org . apache . IDENT_2 . network . IDENT_3 . IDENT_4 . class ) ; final org . apache . IDENT_2 . network . IDENT_3 . IDENT_6 IDENT_7 = org . mockito . Mockito . mock ( org . apache . IDENT_2 . network . IDENT_3 . IDENT_6 . class ) ; IDENT_8 . METHOD_1 ( IDENT_5 ) ; IDENT_8 . METHOD_2 ( IDENT_7 ) ; IDENT_8 . init ( ) ; final com . cloud . network . IDENT_9 IDENT_10 = org . mockito . Mockito . mock ( com . cloud . network . IDENT_9 . class ) ; final java . util . List < com . cloud . network . IDENT_11 > IDENT_12 = new java . util . ArrayList < com . cloud . network . IDENT_11 > ( ) ; when ( IDENT_10 . METHOD_3 ( ) ) . thenReturn ( null ) ; try { final java . lang . String [ ] results = IDENT_0 . METHOD_4 ( IDENT_10 , IDENT_12 ) ; "<AssertPlaceHolder>" ; } catch ( final com . cloud . exception . IDENT_13 e ) { org . junit . Assert . fail ( e . getMessage ( ) ) ; } verify ( IDENT_10 , times ( 1 ) ) . METHOD_3 ( ) ; } METHOD_4 ( com . cloud . network . IDENT_9 , java . util . List ) { if ( ( IDENT_14 . METHOD_5 ( ) ) == null ) { return null ; } final com . cloud . network . IDENT_15 network = IDENT_16 . METHOD_6 ( IDENT_14 . METHOD_5 ( ) ) ; if ( METHOD_7 ( network , IDENT_17 . IDENT_18 ) ) { final java . util . List < com . cloud . IDENT_19 . IDENT_20 > IDENT_21 = IDENT_22 . METHOD_8 ( network . getId ( ) , IDENT_23 . IDENT_24 ) ; if ( ( IDENT_21 == null ) || ( IDENT_21 . isEmpty ( ) ) ) { com . cloud . network . element . IDENT_25 . IDENT_26 . debug ( ( ( STRING_0 + STRING_1 ) + ( network . getId ( ) ) ) ) ; return null ; } final com . cloud . dc . IDENT_27 IDENT_28 = IDENT_29 . METHOD_6 ( network . METHOD_9 ( ) ) ; final org . apache . IDENT_2 . network . IDENT_3 . IDENT_30 IDENT_31 = IDENT_8 . METHOD_10 ( IDENT_28 ) ; return IDENT_31 . METHOD_4 ( network , IDENT_12 , IDENT_21 ) ; } else { com . cloud . network . element . IDENT_25 . IDENT_26 . debug ( ( ( STRING_2 + ( getName ( ) ) ) + STRING_3 ) ) ; return null ; } }
org . junit . Assert . assertNull ( results )