METHOD_0 ( ) { net . IDENT_0 . IDENT_1 . IDENT_2 strategy = mock ( net . IDENT_0 . IDENT_1 . IDENT_2 . class ) ; java . lang . String target = STRING_0 ; java . lang . String IDENT_3 = STRING_1 ; java . lang . String IDENT_4 = STRING_2 ; java . lang . String IDENT_5 = STRING_0 ; when ( strategy . METHOD_1 ( IDENT_3 , target ) ) . thenReturn ( FLOAT_0 ) ; when ( strategy . METHOD_1 ( IDENT_4 , target ) ) . thenReturn ( FLOAT_1 ) ; when ( strategy . METHOD_1 ( IDENT_5 , target ) ) . thenReturn ( 1.0 ) ; net . IDENT_0 . IDENT_1 . IDENT_6 service = new net . IDENT_0 . IDENT_1 . METHOD_2 ( strategy ) ; double METHOD_1 = service . METHOD_1 ( IDENT_3 , target ) ; verify ( strategy ) . METHOD_1 ( IDENT_3 , target ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String , java . lang . String ) { java . lang . String IDENT_7 ; java . lang . String IDENT_8 ; if ( ( first . length ( ) ) > ( IDENT_9 . length ( ) ) ) { IDENT_8 = first . toLowerCase ( ) ; IDENT_7 = IDENT_9 . toLowerCase ( ) ; } else { IDENT_8 = IDENT_9 . toLowerCase ( ) ; IDENT_7 = first . toLowerCase ( ) ; } int IDENT_10 = ( ( IDENT_7 . length ( ) ) / 2 ) + 1 ; java . lang . String IDENT_11 = METHOD_3 ( IDENT_7 , IDENT_8 , IDENT_10 ) ; java . lang . String IDENT_12 = METHOD_3 ( IDENT_8 , IDENT_7 , IDENT_10 ) ; if ( ( ( IDENT_11 . length ( ) ) == 0 ) || ( ( IDENT_12 . length ( ) ) == 0 ) ) return 0.0 ; if ( ( IDENT_11 . length ( ) ) != ( IDENT_12 . length ( ) ) ) return 0.0 ; int IDENT_13 = METHOD_4 ( IDENT_11 , IDENT_12 ) ; double IDENT_14 = ( ( ( ( IDENT_11 . length ( ) ) / ( ( double ) ( IDENT_7 . length ( ) ) ) ) + ( ( IDENT_12 . length ( ) ) / ( ( double ) ( IDENT_8 . length ( ) ) ) ) ) + ( ( ( IDENT_11 . length ( ) ) - METHOD_4 ) / ( ( double ) ( IDENT_11 . length ( ) ) ) ) ) / FLOAT_2 ; return IDENT_14 ; }
org . junit . Assert . assertEquals ( FLOAT_0 , METHOD_1 , 0.0 )