METHOD_0 ( ) { org . finra . herd . dao . IDENT_0 IDENT_1 = IDENT_2 . METHOD_1 ( ) ; org . finra . herd . dao . IDENT_0 IDENT_3 = mock ( org . finra . herd . dao . IDENT_0 . class ) ; IDENT_2 . METHOD_2 ( IDENT_3 ) ; try { java . lang . String IDENT_4 = STRING_0 ; java . lang . String IDENT_5 = STRING_1 ; when ( IDENT_3 . METHOD_3 ( any ( ) , any ( ) ) ) . thenReturn ( null ) ; try { IDENT_2 . METHOD_4 ( IDENT_4 , IDENT_5 , null ) ; org . junit . Assert . fail ( ) ; } catch ( java . lang . IllegalArgumentException e ) { "<AssertPlaceHolder>" ; } verify ( IDENT_3 ) . METHOD_3 ( eq ( IDENT_4 ) , any ( ) ) ; METHOD_5 ( IDENT_3 ) ; } finally { IDENT_2 . METHOD_2 ( IDENT_1 ) ; } } METHOD_4 ( java . lang . String , java . lang . String , java . lang . String ) { boolean IDENT_6 = org . apache . commons . lang3 . StringUtils . METHOD_6 ( IDENT_4 ) ; boolean IDENT_7 = org . apache . commons . lang3 . StringUtils . METHOD_6 ( IDENT_5 ) ; org . springframework . util . Assert . METHOD_7 ( ( IDENT_6 || IDENT_7 ) , STRING_2 ) ; org . finra . herd . model . dto . IDENT_8 IDENT_9 = METHOD_8 ( IDENT_10 ) ; if ( IDENT_6 ) { java . lang . String IDENT_11 = IDENT_4 . trim ( ) ; com . amazonaws . services . IDENT_12 . model . IDENT_13 cluster = IDENT_14 . METHOD_3 ( IDENT_11 , IDENT_9 ) ; org . springframework . util . Assert . METHOD_9 ( cluster , java . lang . String . format ( STRING_3 , IDENT_11 ) ) ; java . lang . String IDENT_15 = cluster . getStatus ( ) . METHOD_10 ( ) ; org . springframework . util . Assert . METHOD_7 ( METHOD_11 ( IDENT_15 ) , java . lang . String . format ( STRING_4 , IDENT_11 , java . util . Arrays . toString ( METHOD_12 ( ) ) , IDENT_15 ) ) ; if ( IDENT_7 ) { java . lang . String IDENT_16 = IDENT_5 . trim ( ) ; org . springframework . util . Assert . METHOD_7 ( cluster . getName ( ) . equalsIgnoreCase ( IDENT_16 ) , java . lang . String . format ( STRING_5 , cluster . getId ( ) , IDENT_16 , cluster . getName ( ) ) ) ; } return cluster . getId ( ) ; } else { java . lang . String IDENT_16 = IDENT_5 . trim ( ) ; com . amazonaws . services . IDENT_12 . model . IDENT_17 IDENT_18 = IDENT_14 . METHOD_13 ( IDENT_16 , IDENT_9 ) ; org . springframework . util . Assert . METHOD_9 ( IDENT_18 , java . lang . String . format ( STRING_6 , IDENT_16 ) ) ; return IDENT_18 . getId ( ) ; } }
org . junit . Assert . assertEquals ( java . lang . String . format ( STRING_3 , IDENT_4 ) , e . getMessage ( ) )