METHOD_0 ( ) { IDENT_0 . IDENT_1 = IDENT_1 ; final com . cloud . network . IDENT_2 . IDENT_3 IDENT_4 = org . mockito . Mockito . mock ( com . cloud . network . IDENT_2 . IDENT_3 . class ) ; final com . cloud . network . IDENT_2 . IDENT_5 IDENT_6 = org . mockito . Mockito . mock ( com . cloud . network . IDENT_2 . IDENT_5 . class ) ; IDENT_7 . METHOD_1 ( IDENT_4 ) ; IDENT_7 . METHOD_2 ( IDENT_6 ) ; IDENT_7 . init ( ) ; final com . cloud . network . IDENT_8 IDENT_9 = org . mockito . Mockito . mock ( com . cloud . network . IDENT_8 . class ) ; final java . util . List < com . cloud . IDENT_10 . network . IDENT_11 > IDENT_12 = new java . util . ArrayList ( ) ; when ( IDENT_9 . METHOD_3 ( ) ) . thenReturn ( null ) ; try { final java . lang . String [ ] results = IDENT_0 . METHOD_4 ( IDENT_9 , IDENT_12 ) ; "<AssertPlaceHolder>" ; } catch ( final com . cloud . IDENT_10 . exceptions . IDENT_13 e ) { org . junit . Assert . fail ( e . getMessage ( ) ) ; } verify ( IDENT_9 , times ( 1 ) ) . METHOD_3 ( ) ; } METHOD_4 ( com . cloud . network . IDENT_8 , java . util . List ) { if ( ( IDENT_14 . METHOD_5 ( ) ) == null ) { return null ; } final com . cloud . IDENT_10 . network . IDENT_15 network = this . 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 = this . 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 . db . model . IDENT_27 IDENT_28 = this . IDENT_29 . METHOD_6 ( network . METHOD_9 ( ) ) . METHOD_10 ( null ) ; final com . cloud . network . IDENT_2 . IDENT_30 IDENT_31 = this . IDENT_7 . METHOD_11 ( 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 )