METHOD_0 ( ) { final com . cloud . network . dao . IDENT_0 network = mock ( com . cloud . network . dao . IDENT_0 . class ) ; when ( network . getName ( ) ) . thenReturn ( STRING_0 ) ; when ( network . METHOD_1 ( ) ) . thenReturn ( IDENT_1 . IDENT_2 ) ; when ( network . getId ( ) ) . thenReturn ( com . cloud . network . IDENT_3 . IDENT_4 . IDENT_5 ) ; when ( network . METHOD_2 ( ) ) . thenReturn ( com . cloud . network . IDENT_3 . IDENT_4 . IDENT_5 ) ; final com . cloud . IDENT_6 . IDENT_7 IDENT_6 = mock ( com . cloud . IDENT_6 . IDENT_7 . class ) ; when ( IDENT_6 . getId ( ) ) . thenReturn ( com . cloud . network . IDENT_3 . IDENT_4 . IDENT_5 ) ; when ( IDENT_6 . METHOD_3 ( ) ) . thenReturn ( IDENT_8 . IDENT_9 ) ; when ( IDENT_6 . METHOD_4 ( ) ) . thenReturn ( IDENT_10 . IDENT_11 ) ; final com . cloud . host . IDENT_12 IDENT_13 = mock ( com . cloud . host . IDENT_12 . class ) ; when ( IDENT_14 . METHOD_5 ( METHOD_6 ( ) ) ) . thenReturn ( IDENT_13 ) ; when ( IDENT_13 . getId ( ) ) . thenReturn ( com . cloud . network . IDENT_3 . IDENT_4 . IDENT_5 ) ; when ( IDENT_15 . METHOD_7 ( METHOD_6 ( ) , ( ( java . lang . String ) ( any ( ) ) ) , ( ( com . cloud . network . IDENT_16 . IDENT_8 ) ( any ( ) ) ) ) ) . thenReturn ( com . cloud . network . IDENT_3 . IDENT_4 . IDENT_5 ) ; final com . cloud . network . IDENT_17 mapping = mock ( com . cloud . network . IDENT_17 . class ) ; when ( mapping . METHOD_8 ( ) ) . thenReturn ( INT_0 ) ; when ( IDENT_18 . METHOD_9 ( METHOD_6 ( ) ) ) . thenReturn ( mapping ) ; when ( IDENT_18 . remove ( METHOD_6 ( ) ) ) . thenReturn ( true ) ; final com . cloud . network . IDENT_19 IDENT_20 = mock ( com . cloud . network . IDENT_19 . class ) ; when ( IDENT_20 . METHOD_10 ( ) ) . thenReturn ( com . cloud . network . IDENT_3 . IDENT_4 . IDENT_5 ) ; final java . util . List < com . cloud . network . IDENT_19 > IDENT_21 = mock ( java . util . List . class ) ; when ( IDENT_21 . isEmpty ( ) ) . thenReturn ( true ) ; when ( IDENT_22 . METHOD_11 ( METHOD_6 ( ) ) ) . thenReturn ( IDENT_21 ) ; final boolean result = IDENT_3 . METHOD_12 ( network , IDENT_6 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_23 , times ( 0 ) ) . METHOD_13 ( eq ( com . cloud . network . IDENT_3 . IDENT_4 . IDENT_5 ) , ( ( com . cloud . IDENT_24 . api . IDENT_25 ) ( any ( ) ) ) ) ; } METHOD_12 ( com . cloud . network . IDENT_26 , com . cloud . IDENT_6 . IDENT_7 ) { return super . METHOD_12 ( network , IDENT_6 ) ; }
org . junit . Assert . assertTrue ( ( result == false ) )