METHOD_0 ( ) { org . apache . IDENT_0 . tuple . IDENT_1 tuple = mock ( org . apache . IDENT_0 . tuple . IDENT_1 . class ) ; when ( tuple . METHOD_1 ( ) ) . thenReturn ( new org . apache . IDENT_0 . tuple . METHOD_2 ( STRING_0 ) ) ; java . lang . String IDENT_2 = java . lang . String . format ( STRING_1 , java . util . UUID . METHOD_3 ( ) ) ; when ( tuple . METHOD_4 ( eq ( STRING_0 ) ) ) . thenReturn ( STRING_2 ) ; java . util . Optional < org . IDENT_3 . IDENT_4 . IDENT_5 . utils . IDENT_6 > result = org . IDENT_3 . IDENT_4 . IDENT_5 . utils . IDENT_6 . METHOD_5 ( tuple ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( org . apache . IDENT_0 . tuple . IDENT_1 ) { final org . apache . IDENT_0 . tuple . METHOD_2 fields = input . METHOD_1 ( ) ; if ( ( fields == null ) || ( ( fields . size ( ) ) == 0 ) ) { return java . util . Optional . empty ( ) ; } if ( fields . contains ( IDENT_7 . IDENT_8 ) ) { try { org . IDENT_3 . IDENT_4 . IDENT_9 IDENT_10 = ( ( org . IDENT_3 . IDENT_4 . IDENT_9 ) ( input . METHOD_4 ( IDENT_7 . IDENT_8 ) ) ) ; if ( IDENT_10 != null ) { return java . util . Optional . of ( new org . IDENT_3 . IDENT_4 . IDENT_5 . utils . METHOD_6 ( IDENT_10 . METHOD_7 ( ) ) ) ; } else { return java . util . Optional . empty ( ) ; } } catch ( java . lang . IDENT_11 e ) { } } if ( fields . contains ( org . IDENT_3 . IDENT_4 . IDENT_5 . utils . IDENT_12 ) ) { java . util . Optional < org . IDENT_3 . IDENT_4 . IDENT_5 . utils . METHOD_6 > result = java . util . Optional . METHOD_8 ( input . METHOD_9 ( org . IDENT_3 . IDENT_4 . IDENT_5 . utils . IDENT_12 ) ) . map ( String :: trim ) . map ( IDENT_13 :: IDENT_14 ) . map ( org . IDENT_3 . IDENT_4 . IDENT_5 . utils . METHOD_6 :: new ) ; if ( result . METHOD_10 ( ) ) { return result ; } } if ( fields . contains ( org . IDENT_3 . IDENT_4 . IDENT_5 . IDENT_15 . IDENT_16 ) ) { java . lang . Object IDENT_17 = input . METHOD_4 ( org . IDENT_3 . IDENT_4 . IDENT_5 . IDENT_15 . IDENT_16 ) ; if ( IDENT_17 instanceof org . IDENT_3 . IDENT_18 . Message ) { java . util . Optional < org . IDENT_3 . IDENT_4 . IDENT_5 . utils . METHOD_6 > result = java . util . Optional . METHOD_8 ( ( ( org . IDENT_3 . IDENT_18 . Message ) ( IDENT_17 ) ) . METHOD_7 ( ) ) . map ( String :: trim ) . map ( IDENT_13 :: IDENT_14 ) . map ( org . IDENT_3 . IDENT_4 . IDENT_5 . utils . METHOD_6 :: new ) ; if ( result . METHOD_10 ( ) ) { return result ; } } else if ( IDENT_17 instanceof java . lang . String ) { java . lang . String IDENT_19 = org . IDENT_3 . IDENT_4 . IDENT_5 . utils . METHOD_6 . METHOD_11 ( ( ( java . lang . String ) ( IDENT_17 ) ) ) ; if ( IDENT_19 != null ) { return java . util . Optional . of ( new org . IDENT_3 . IDENT_4 . IDENT_5 . utils . METHOD_6 ( IDENT_19 ) ) ; } } } if ( fields . contains ( org . IDENT_3 . IDENT_4 . IDENT_5 . utils . IDENT_20 ) ) { java . lang . String IDENT_19 = org . IDENT_3 . IDENT_4 . IDENT_5 . utils . METHOD_6 . METHOD_11 ( input . METHOD_9 ( org . IDENT_3 . IDENT_4 . IDENT_5 . utils . IDENT_20 ) ) ; if ( IDENT_19 != null ) { return java . util . Optional . of ( new org . IDENT_3 . IDENT_4 . IDENT_5 . utils . METHOD_6 ( IDENT_19 ) ) ; } } return java . util . Optional . empty ( ) ; }
org . junit . Assert . assertFalse ( result . METHOD_10 ( ) )