METHOD_0 ( ) { resource . METHOD_1 ( STRING_0 , parameters ) ; final com . cloud . IDENT_0 . IDENT_1 . command . IDENT_2 IDENT_3 = mock ( com . cloud . IDENT_0 . IDENT_1 . command . IDENT_2 . class ) ; final com . cloud . IDENT_0 . to . IDENT_4 rule = new com . cloud . IDENT_0 . to . METHOD_2 ( 1 , STRING_1 , null , null , STRING_2 , null , null , null , false , false ) ; final java . util . List < com . cloud . IDENT_0 . to . METHOD_2 > rules = new java . util . ArrayList ( ) ; rules . add ( rule ) ; when ( IDENT_3 . METHOD_3 ( ) ) . thenReturn ( rules ) ; when ( IDENT_3 . METHOD_4 ( ) ) . thenReturn ( STRING_3 ) ; final com . cloud . network . IDENT_5 . IDENT_6 [ ] IDENT_7 = resource . METHOD_5 ( STRING_2 , STRING_1 ) ; IDENT_7 [ 0 ] . METHOD_6 ( java . util . UUID . METHOD_7 ( ) ) ; IDENT_7 [ 1 ] . METHOD_6 ( java . util . UUID . METHOD_7 ( ) ) ; when ( IDENT_8 . METHOD_8 ( eq ( STRING_3 ) , ( ( com . cloud . network . IDENT_5 . IDENT_6 ) ( any ( ) ) ) ) ) . thenReturn ( IDENT_7 [ 0 ] ) . METHOD_9 ( new com . cloud . network . IDENT_5 . METHOD_10 ( ) ) ; final java . util . List < com . cloud . network . IDENT_5 . IDENT_6 > IDENT_9 = java . util . Collections . IDENT_10 ; when ( IDENT_8 . METHOD_11 ( STRING_3 ) ) . thenReturn ( IDENT_9 ) ; final com . cloud . IDENT_0 . IDENT_1 . IDENT_11 . IDENT_12 a = ( ( com . cloud . IDENT_0 . IDENT_1 . IDENT_11 . IDENT_12 ) ( resource . METHOD_12 ( IDENT_3 ) ) ) ; "<AssertPlaceHolder>" ; verify ( IDENT_8 , METHOD_13 ( ) ) . METHOD_14 ( eq ( STRING_3 ) , eq ( IDENT_7 [ 0 ] . METHOD_15 ( ) ) ) ; } METHOD_16 ( ) { return result ; }
org . junit . Assert . assertFalse ( a . METHOD_16 ( ) )