METHOD_0 ( ) { final com . cloud . network . dao . IDENT_0 IDENT_1 = mock ( com . cloud . network . dao . IDENT_0 . class ) ; when ( IDENT_2 . METHOD_1 ( ( ( java . lang . Long ) ( any ( ) ) ) ) ) . thenReturn ( IDENT_1 ) ; when ( IDENT_1 . METHOD_2 ( ) ) . thenReturn ( java . util . Arrays . asList ( new java . lang . String [ ] { STRING_0 , STRING_1 } ) ) ; when ( IDENT_1 . getId ( ) ) . thenReturn ( com . cloud . network . IDENT_3 . IDENT_4 . IDENT_5 ) ; mock ( com . cloud . network . IDENT_6 . class ) ; when ( IDENT_7 . METHOD_3 ( com . cloud . network . IDENT_3 . IDENT_4 . IDENT_5 ) ) . thenReturn ( java . util . Collections . < com . cloud . network . IDENT_6 > emptyList ( ) ) ; final com . cloud . IDENT_8 . IDENT_9 IDENT_8 = mock ( com . cloud . IDENT_8 . IDENT_9 . class ) ; when ( IDENT_8 . getId ( ) ) . thenReturn ( com . cloud . network . IDENT_3 . IDENT_4 . IDENT_5 ) ; when ( IDENT_8 . METHOD_4 ( ) ) . thenReturn ( IDENT_10 . IDENT_11 ) ; when ( IDENT_8 . METHOD_5 ( ) ) . thenReturn ( IDENT_12 . IDENT_13 ) ; final com . cloud . IDENT_14 . IDENT_15 plan = mock ( com . cloud . IDENT_14 . IDENT_15 . class ) ; final com . cloud . network . IDENT_16 network = mock ( com . cloud . network . IDENT_16 . class ) ; final com . cloud . user . IDENT_17 IDENT_18 = mock ( com . cloud . user . IDENT_17 . class ) ; final com . cloud . network . IDENT_16 IDENT_19 = IDENT_3 . METHOD_6 ( IDENT_8 , plan , network , IDENT_18 ) ; "<AssertPlaceHolder>" ; } METHOD_6 ( com . cloud . IDENT_8 . IDENT_9 , com . cloud . IDENT_14 . IDENT_15 , com . cloud . network . IDENT_16 , com . cloud . user . IDENT_17 ) { com . cloud . network . dao . IDENT_0 IDENT_1 = IDENT_20 . METHOD_1 ( plan . METHOD_7 ( ) ) ; com . cloud . dc . IDENT_21 dc = IDENT_22 . METHOD_1 ( plan . METHOD_8 ( ) ) ; if ( ! ( METHOD_9 ( IDENT_8 , dc . METHOD_10 ( ) , IDENT_1 ) ) ) { com . cloud . network . IDENT_3 . IDENT_23 . IDENT_24 . debug ( STRING_2 ) ; return null ; } com . cloud . network . dao . IDENT_25 config = ( ( com . cloud . network . dao . IDENT_25 ) ( super . METHOD_6 ( IDENT_8 , plan , IDENT_26 , IDENT_27 ) ) ) ; if ( config == null ) { return null ; } config . METHOD_11 ( IDENT_28 . IDENT_29 ) ; return config ; }
org . junit . Assert . assertTrue ( ( IDENT_19 == null ) )