METHOD_0 ( ) { com . google . cloud . tools . IDENT_0 . registry . IDENT_1 IDENT_2 = org . mockito . Mockito . mock ( com . google . cloud . tools . IDENT_0 . registry . IDENT_1 . class ) ; org . mockito . Mockito . METHOD_1 ( IDENT_2 ) . when ( IDENT_3 ) . METHOD_2 ( IDENT_4 ) ; try { IDENT_5 . build ( IDENT_3 , IDENT_4 , IDENT_6 , com . google . cloud . tools . IDENT_0 . plugins . common . IDENT_7 . IDENT_8 ) ; org . junit . Assert . fail ( STRING_0 ) ; } catch ( com . google . cloud . tools . IDENT_0 . plugins . common . IDENT_9 ex ) { "<AssertPlaceHolder>" ; } } METHOD_3 ( ) { return METHOD_4 ( STRING_1 ) ; }
org . junit . Assert . assertEquals ( com . google . cloud . tools . IDENT_0 . plugins . common . IDENT_7 . IDENT_8 . METHOD_3 ( ) , ex . getMessage ( ) )