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