METHOD_0 ( ) { org . apache . IDENT_0 . storage . IDENT_1 . IDENT_2 IDENT_3 = org . mockito . Mockito . METHOD_1 ( new org . apache . IDENT_0 . storage . IDENT_1 . METHOD_2 ( ) ) ; com . cloud . host . IDENT_4 IDENT_5 = new com . cloud . host . METHOD_3 ( STRING_0 ) ; org . mockito . Mockito . doReturn ( STRING_1 ) . when ( IDENT_3 ) . METHOD_4 ( ) ; org . mockito . Mockito . doReturn ( 0L ) . when ( IDENT_3 ) . METHOD_5 ( ) ; org . mockito . Mockito . doReturn ( STRING_2 ) . when ( IDENT_6 ) . METHOD_6 ( IDENT_5 , 0L , STRING_1 ) ; java . lang . String expected = IDENT_6 . METHOD_7 ( org . mockito . Mockito . mock ( com . cloud . IDENT_7 . api . to . IDENT_8 . class ) , org . mockito . Mockito . mock ( com . cloud . storage . IDENT_9 . class ) , IDENT_5 , org . mockito . Mockito . mock ( org . apache . IDENT_0 . storage . datastore . db . IDENT_10 . class ) , IDENT_3 ) ; "<AssertPlaceHolder>" ; org . mockito . Mockito . verify ( IDENT_6 ) . METHOD_6 ( IDENT_5 , 0L , STRING_1 ) ; } METHOD_7 ( com . cloud . IDENT_7 . api . to . IDENT_8 , com . cloud . storage . IDENT_9 , com . cloud . host . IDENT_11 , org . apache . IDENT_0 . storage . datastore . db . IDENT_10 , org . apache . IDENT_0 . engine . IDENT_12 . api . storage . IDENT_13 ) { return METHOD_6 ( IDENT_5 , IDENT_3 . METHOD_5 ( ) , IDENT_3 . METHOD_4 ( ) ) ; }
org . junit . Assert . assertEquals ( expected , STRING_2 )