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