METHOD_0 ( ) { when ( IDENT_0 . METHOD_1 ( dc . getId ( ) ) ) . thenReturn ( dc ) ; when ( plan . METHOD_2 ( ) ) . thenReturn ( 1L ) ; when ( plan . METHOD_3 ( ) ) . thenReturn ( 1L ) ; when ( IDENT_1 . METHOD_1 ( IDENT_2 . getId ( ) ) ) . thenReturn ( IDENT_2 ) ; when ( IDENT_3 . METHOD_4 ( ) ) . thenReturn ( false ) ; when ( IDENT_4 . METHOD_5 ( IDENT_3 . getId ( ) , IDENT_5 . IDENT_6 . IDENT_7 ) ) . thenReturn ( true ) ; "<AssertPlaceHolder>" ; } METHOD_6 ( com . cloud . IDENT_3 . IDENT_8 , com . cloud . IDENT_9 . IDENT_10 , com . cloud . network . IDENT_5 , com . cloud . user . IDENT_11 ) { com . cloud . network . dao . IDENT_12 IDENT_13 = IDENT_14 . METHOD_1 ( plan . METHOD_3 ( ) ) ; com . cloud . dc . IDENT_15 dc = IDENT_16 . METHOD_1 ( plan . METHOD_2 ( ) ) ; if ( ! ( METHOD_7 ( IDENT_3 , dc . METHOD_8 ( ) , IDENT_13 ) ) ) { com . cloud . network . IDENT_17 . IDENT_18 . IDENT_19 . debug ( STRING_0 ) ; return null ; } com . cloud . network . dao . IDENT_20 config = ( ( com . cloud . network . dao . IDENT_20 ) ( super . METHOD_6 ( IDENT_3 , plan , IDENT_21 , IDENT_22 ) ) ) ; if ( config == null ) { return null ; } config . METHOD_9 ( IDENT_23 . IDENT_24 ) ; return config ; }
org . junit . Assert . assertNotNull ( IDENT_17 . METHOD_6 ( IDENT_3 , plan , network , IDENT_22 ) )