METHOD_0 ( ) { org . IDENT_0 . api . mockito . IDENT_1 . METHOD_1 ( org . kie . workbench . common . IDENT_2 . IDENT_3 . management . util . IDENT_4 . class ) ; org . IDENT_0 . api . mockito . IDENT_1 . when ( org . kie . workbench . common . IDENT_2 . IDENT_3 . management . util . IDENT_4 . METHOD_2 ( conn , org . kie . workbench . common . IDENT_2 . IDENT_3 . management . backend . service . IDENT_5 . IDENT_6 , org . kie . workbench . common . IDENT_2 . IDENT_3 . management . backend . service . IDENT_5 . IDENT_7 , types ) ) . thenReturn ( IDENT_8 ) ; java . util . List < org . kie . workbench . common . IDENT_2 . IDENT_3 . management . metadata . IDENT_9 > result = IDENT_10 . METHOD_2 ( org . kie . workbench . common . IDENT_2 . IDENT_3 . management . backend . service . IDENT_5 . IDENT_11 , org . kie . workbench . common . IDENT_2 . IDENT_3 . management . backend . service . IDENT_5 . IDENT_6 , org . kie . workbench . common . IDENT_2 . IDENT_3 . management . backend . service . IDENT_5 . IDENT_7 , types ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( java . lang . String , java . lang . String , java . lang . String , org . kie . workbench . common . IDENT_2 . IDENT_3 . management . metadata . IDENT_12 [ ] ) { METHOD_3 ( STRING_0 , IDENT_13 ) ; METHOD_3 ( STRING_1 , types ) ; try { org . kie . workbench . common . IDENT_2 . IDENT_3 . management . backend . core . IDENT_14 IDENT_15 = IDENT_16 . METHOD_4 ( IDENT_13 ) ; return org . kie . workbench . common . IDENT_2 . IDENT_3 . management . util . IDENT_4 . METHOD_2 ( IDENT_15 . METHOD_5 ( ) , schema , IDENT_17 , types ) ; } catch ( java . lang . Exception e ) { org . kie . workbench . common . IDENT_2 . IDENT_3 . management . backend . service . IDENT_18 . logger . error ( ( STRING_2 + IDENT_13 ) , e ) ; throw new org . IDENT_19 . common . services . shared . exceptions . METHOD_6 ( ( ( ( STRING_2 + IDENT_13 ) + STRING_3 ) + ( e . getMessage ( ) ) ) , e ) ; } }
org . junit . Assert . assertEquals ( IDENT_8 , result )