METHOD_0 ( ) { org . pentaho . IDENT_0 . data . api . cluster . service . IDENT_1 . IDENT_2 IDENT_3 = mock ( org . pentaho . IDENT_0 . data . api . cluster . service . IDENT_1 . IDENT_2 . class ) ; org . pentaho . IDENT_0 . data . api . cluster . IDENT_4 IDENT_5 = mock ( org . pentaho . IDENT_0 . data . api . cluster . IDENT_4 . class ) ; org . pentaho . IDENT_6 . api . IDENT_7 . IDENT_8 IDENT_9 = mock ( org . pentaho . IDENT_6 . api . IDENT_7 . IDENT_8 . class ) ; org . pentaho . IDENT_0 . data . api . cluster . IDENT_10 IDENT_11 = mock ( org . pentaho . IDENT_0 . data . api . cluster . IDENT_10 . class ) ; when ( IDENT_12 . METHOD_1 ( ) ) . thenReturn ( IDENT_13 ) ; when ( IDENT_5 . METHOD_2 ( STRING_0 , IDENT_13 ) ) . thenReturn ( IDENT_11 ) ; when ( IDENT_3 . METHOD_3 ( IDENT_11 , org . pentaho . IDENT_6 . api . IDENT_7 . IDENT_8 . class ) ) . thenReturn ( IDENT_9 ) ; org . pentaho . IDENT_0 . data . IDENT_14 . plugins . kafka . IDENT_15 IDENT_16 = new org . pentaho . IDENT_0 . data . IDENT_14 . plugins . kafka . METHOD_4 ( ) ; IDENT_16 . METHOD_5 ( IDENT_3 ) ; IDENT_16 . METHOD_6 ( IDENT_5 ) ; IDENT_16 . METHOD_7 ( STRING_0 ) ; IDENT_16 . METHOD_8 ( IDENT_12 ) ; "<AssertPlaceHolder>" ; } METHOD_9 ( ) { try { return java . util . Optional . METHOD_10 ( IDENT_17 . METHOD_3 ( IDENT_5 . METHOD_2 ( METHOD_11 ( ) , METHOD_12 ( ) . METHOD_1 ( ) ) , org . pentaho . IDENT_6 . api . IDENT_7 . IDENT_8 . class ) ) ; } catch ( java . lang . Exception e ) { METHOD_13 ( ) . METHOD_14 ( STRING_1 , e ) ; return java . util . Optional . empty ( ) ; } }
org . junit . Assert . assertEquals ( IDENT_9 , IDENT_16 . METHOD_9 ( ) . get ( ) )