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 ) ; final com . cloud . network . IDENT_6 device = mock ( com . cloud . network . IDENT_6 . class ) ; when ( IDENT_7 . METHOD_3 ( com . cloud . network . IDENT_3 . IDENT_4 . IDENT_5 ) ) . thenReturn ( java . util . Arrays . asList ( new com . cloud . network . IDENT_6 [ ] { device } ) ) ; when ( device . getId ( ) ) . thenReturn ( 1L ) ; 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 ) ; when ( IDENT_14 . METHOD_6 ( com . cloud . network . IDENT_3 . IDENT_4 . IDENT_5 , IDENT_15 . IDENT_16 ) ) . thenReturn ( false ) ; final com . cloud . IDENT_17 . IDENT_18 plan = mock ( com . cloud . IDENT_17 . IDENT_18 . class ) ; final com . cloud . network . IDENT_19 network = mock ( com . cloud . network . IDENT_19 . class ) ; final com . cloud . user . IDENT_20 IDENT_21 = mock ( com . cloud . user . IDENT_20 . class ) ; final com . cloud . network . IDENT_19 IDENT_22 = IDENT_3 . METHOD_7 ( IDENT_8 , plan , network , IDENT_21 ) ; "<AssertPlaceHolder>" ; } METHOD_7 ( com . cloud . IDENT_8 . IDENT_9 , com . cloud . IDENT_17 . IDENT_18 , com . cloud . network . IDENT_19 , com . cloud . user . IDENT_20 ) { com . cloud . network . dao . IDENT_0 IDENT_1 = IDENT_23 . METHOD_1 ( plan . METHOD_8 ( ) ) ; com . cloud . dc . IDENT_24 dc = IDENT_25 . METHOD_1 ( plan . METHOD_9 ( ) ) ; if ( ! ( METHOD_10 ( IDENT_8 , dc . METHOD_11 ( ) , IDENT_1 ) ) ) { com . cloud . network . IDENT_3 . IDENT_26 . IDENT_27 . debug ( STRING_2 ) ; return null ; } com . cloud . network . dao . IDENT_28 config = ( ( com . cloud . network . dao . IDENT_28 ) ( super . METHOD_7 ( IDENT_8 , plan , IDENT_29 , IDENT_30 ) ) ) ; if ( config == null ) { return null ; } config . METHOD_12 ( IDENT_31 . IDENT_32 ) ; return config ; }
org . junit . Assert . assertTrue ( ( IDENT_22 == null ) )