METHOD_0 ( ) { org . mockito . Mockito . when ( IDENT_0 . METHOD_1 ( org . mockito . Mockito . METHOD_2 ( ) ) ) . thenReturn ( IDENT_1 ) ; final com . cloud . IDENT_2 . IDENT_3 IDENT_4 = org . mockito . Mockito . mock ( com . cloud . IDENT_2 . IDENT_5 . class ) ; final java . util . List < com . cloud . IDENT_2 . IDENT_3 > IDENT_6 = new java . util . ArrayList ( ) ; IDENT_6 . add ( IDENT_4 ) ; IDENT_7 . METHOD_3 ( IDENT_6 ) ; org . mockito . Mockito . when ( IDENT_4 . METHOD_4 ( IDENT_1 ) ) . thenReturn ( IDENT_8 . IDENT_9 ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( com . cloud . IDENT_10 . manager . IDENT_11 ) { final java . lang . Long IDENT_12 = IDENT_10 . getId ( ) ; final com . cloud . host . IDENT_13 host = this . IDENT_0 . METHOD_1 ( IDENT_12 ) ; if ( ( ( host != null ) && ( ( host . getType ( ) ) != null ) ) && ( ! ( host . getType ( ) . METHOD_6 ( ) ) ) ) { if ( com . cloud . IDENT_10 . manager . IDENT_14 . IDENT_15 . METHOD_7 ( ) ) { com . cloud . IDENT_10 . manager . IDENT_14 . IDENT_15 . debug ( ( ( STRING_0 + IDENT_12 ) + STRING_1 ) ) ; } final com . cloud . IDENT_16 . IDENT_17 . IDENT_18 . IDENT_19 IDENT_18 = METHOD_8 ( IDENT_12 , new com . cloud . IDENT_16 . IDENT_17 . command . METHOD_9 ( ) ) ; if ( ( IDENT_18 != null ) && ( IDENT_18 . METHOD_10 ( ) ) ) { final com . cloud . IDENT_16 . dc . IDENT_8 status = com . cloud . IDENT_16 . dc . IDENT_8 . IDENT_20 ; if ( com . cloud . IDENT_10 . manager . IDENT_14 . IDENT_15 . METHOD_7 ( ) ) { com . cloud . IDENT_10 . manager . IDENT_14 . IDENT_15 . debug ( ( ( ( STRING_2 + IDENT_12 ) + STRING_3 ) + status ) ) ; } return status ; } return this . IDENT_21 . METHOD_5 ( IDENT_12 ) ; } return com . cloud . IDENT_16 . dc . IDENT_8 . IDENT_22 ; }
org . junit . Assert . assertTrue ( ( ( IDENT_7 . METHOD_5 ( 1L ) ) == ( com . cloud . IDENT_16 . dc . IDENT_8 . IDENT_9 ) ) )