METHOD_0 ( ) { final com . cloud . IDENT_0 . exceptions . IDENT_1 IDENT_2 = new com . cloud . IDENT_0 . exceptions . METHOD_1 ( true , STRING_0 ) ; org . mockito . Mockito . when ( IDENT_3 . METHOD_2 ( org . mockito . Mockito . METHOD_3 ( ) ) ) . thenReturn ( host ) ; org . mockito . Mockito . METHOD_4 ( IDENT_2 ) . when ( IDENT_4 ) . METHOD_5 ( org . mockito . Mockito . eq ( host ) , org . mockito . Mockito . eq ( IDENT_5 ) , org . mockito . Mockito . eq ( false ) ) ; org . mockito . Mockito . doReturn ( true ) . when ( IDENT_6 ) . METHOD_6 ( org . mockito . Mockito . any ( IDENT_7 . getClass ( ) ) , org . mockito . Mockito . any ( com . cloud . model . IDENT_8 . IDENT_9 . class ) , org . mockito . Mockito . METHOD_7 ( ) , org . mockito . Mockito . METHOD_7 ( ) ) ; try { IDENT_6 . METHOD_8 ( IDENT_7 , IDENT_5 , false ) ; org . junit . Assert . fail ( STRING_1 ) ; } catch ( final com . cloud . IDENT_0 . exceptions . METHOD_1 e ) { "<AssertPlaceHolder>" ; } org . mockito . Mockito . verify ( IDENT_6 , org . mockito . Mockito . times ( 1 ) ) . METHOD_6 ( org . mockito . Mockito . any ( IDENT_7 . getClass ( ) ) , org . mockito . Mockito . eq ( IDENT_9 . IDENT_10 ) , org . mockito . Mockito . eq ( true ) , org . mockito . Mockito . eq ( true ) ) ; } getMessage ( ) { return message ; }
org . junit . Assert . assertEquals ( e . getMessage ( ) , IDENT_2 . getMessage ( ) )