METHOD_0 ( ) { java . lang . String IDENT_0 = STRING_0 ; java . lang . String IDENT_1 = STRING_1 ; io . github . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_5 . IDENT_6 adapter = METHOD_1 ( IDENT_0 , IDENT_1 , false ) ; com . IDENT_7 . client . IDENT_8 IDENT_9 = mock ( com . IDENT_7 . client . IDENT_8 . class ) ; when ( IDENT_9 . METHOD_2 ( ) ) . thenReturn ( true ) ; when ( IDENT_10 . METHOD_2 ( ) ) . thenReturn ( true ) ; when ( IDENT_10 . METHOD_3 ( ) ) . thenReturn ( IDENT_9 ) ; when ( IDENT_10 . METHOD_4 ( anyString ( ) ) ) . thenReturn ( 1L ) ; adapter . METHOD_5 ( ( IDENT_11 , IDENT_12 ) -> { } ) ; verify ( IDENT_10 ) . METHOD_6 ( IDENT_0 , STRING_2 , false , true , null ) ; java . util . Optional < java . lang . Boolean > IDENT_13 = java . util . Optional . of ( true ) ; java . util . Optional < java . lang . Boolean > result = adapter . METHOD_7 ( ) ; verify ( IDENT_10 , times ( 1 ) ) . METHOD_2 ( ) ; verify ( IDENT_9 , times ( 1 ) ) . METHOD_2 ( ) ; verify ( IDENT_10 , times ( 1 ) ) . METHOD_4 ( anyString ( ) ) ; "<AssertPlaceHolder>" ; } METHOD_7 ( ) { throw new java . lang . METHOD_8 ( STRING_3 ) ; }
org . junit . Assert . assertEquals ( IDENT_13 , result )