METHOD_0 ( ) { METHOD_1 ( new com . cloud . exception . METHOD_2 ( STRING_0 , com . cloud . configuration . IDENT_0 . IDENT_1 . IDENT_2 ) ) . when ( IDENT_3 ) . METHOD_3 ( any ( com . cloud . user . IDENT_4 . class ) , any ( com . cloud . configuration . IDENT_0 . IDENT_1 . class ) , any ( com . cloud . storage . Long . class ) ) ; com . cloud . IDENT_5 . IDENT_6 IDENT_5 = org . mockito . Mockito . mock ( com . cloud . IDENT_5 . IDENT_6 . class ) ; org . apache . IDENT_7 . engine . IDENT_8 . api . storage . IDENT_9 IDENT_10 = org . mockito . Mockito . mock ( org . apache . IDENT_7 . engine . IDENT_8 . api . storage . IDENT_9 . class ) ; when ( IDENT_10 . getId ( ) ) . thenReturn ( INT_0 ) ; when ( IDENT_10 . METHOD_4 ( ) ) . thenReturn ( INT_1 ) ; when ( IDENT_10 . METHOD_5 ( ) ) . thenReturn ( IDENT_11 . Type . IDENT_12 ) ; when ( IDENT_10 . METHOD_6 ( ) ) . thenReturn ( null ) ; when ( IDENT_13 . METHOD_7 ( METHOD_8 ( ) ) ) . thenReturn ( IDENT_5 ) ; when ( IDENT_5 . getType ( ) ) . thenReturn ( IDENT_14 . Type . User ) ; when ( IDENT_5 . METHOD_9 ( ) ) . thenReturn ( IDENT_15 . IDENT_16 ) ; when ( IDENT_5 . METHOD_4 ( ) ) . thenReturn ( INT_1 ) ; when ( IDENT_17 . METHOD_10 ( METHOD_8 ( ) , any ( com . cloud . storage . IDENT_11 . Type . class ) ) ) . thenReturn ( new java . util . ArrayList ( 10 ) ) ; when ( IDENT_18 . METHOD_11 ( INT_0 ) ) . thenReturn ( IDENT_10 ) ; when ( IDENT_10 . METHOD_9 ( ) ) . thenReturn ( IDENT_11 . IDENT_15 . IDENT_19 ) ; com . cloud . dc . IDENT_20 IDENT_21 = org . mockito . Mockito . mock ( com . cloud . dc . IDENT_20 . class ) ; when ( IDENT_22 . METHOD_7 ( METHOD_8 ( ) ) ) . thenReturn ( IDENT_21 ) ; when ( IDENT_21 . METHOD_12 ( ) ) . thenReturn ( true ) ; try { IDENT_23 . METHOD_13 ( INT_2 , INT_0 , null ) ; } catch ( com . cloud . exception . IDENT_24 e ) { "<AssertPlaceHolder>" ; } } getMessage ( ) { return message ; }
org . junit . Assert . assertEquals ( e . getMessage ( ) , STRING_0 )