METHOD_0 ( ) { com . IDENT_0 . server . types . IDENT_1 context = new com . IDENT_0 . server . types . METHOD_1 ( null , null , null , null , com . IDENT_0 . server . types . IDENT_2 . IDENT_3 , com . IDENT_0 . server . types . IDENT_2 . IDENT_3 , com . IDENT_0 . server . types . IDENT_2 . IDENT_3 ) ; long actual = com . IDENT_0 . server . types . IDENT_4 . IDENT_5 . IDENT_6 . METHOD_2 ( input , Long . MAX_VALUE , Long . IDENT_7 , context ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( java . lang . String , long , long , com . IDENT_0 . server . types . METHOD_1 ) { java . lang . Object IDENT_8 ; try { return com . IDENT_0 . server . types . IDENT_4 . IDENT_5 . IDENT_6 . METHOD_3 ( max , min , java . lang . Long . METHOD_4 ( IDENT_9 ) , context ) ; } catch ( java . lang . IDENT_10 e ) { IDENT_8 = com . IDENT_0 . server . types . IDENT_4 . IDENT_5 . IDENT_6 . METHOD_5 ( IDENT_9 , context ) ; } if ( IDENT_8 instanceof java . lang . String ) { java . lang . String IDENT_11 = ( ( java . lang . String ) ( IDENT_8 ) ) ; try { return com . IDENT_0 . server . types . IDENT_4 . IDENT_5 . IDENT_6 . METHOD_3 ( max , min , java . lang . Long . METHOD_4 ( IDENT_11 ) , context ) ; } catch ( java . lang . IDENT_10 e ) { context . METHOD_6 ( e . getMessage ( ) ) ; char first = IDENT_11 . charAt ( 0 ) ; if ( first == STRING_0 ) return com . IDENT_0 . server . types . IDENT_4 . IDENT_5 . IDENT_6 . METHOD_3 ( max , min , Long . IDENT_7 , context ) ; else return com . IDENT_0 . server . types . IDENT_4 . IDENT_5 . IDENT_6 . METHOD_3 ( max , min , Long . MAX_VALUE , context ) ; } } else { java . math . BigDecimal IDENT_12 = ( ( java . math . BigDecimal ) ( IDENT_8 ) ) ; if ( ( IDENT_12 . compareTo ( com . IDENT_0 . server . types . IDENT_4 . IDENT_5 . IDENT_6 . IDENT_13 ) ) > 0 ) { context . METHOD_7 ( IDENT_9 , java . lang . Long . toString ( max ) ) ; return max ; } else if ( ( IDENT_12 . compareTo ( com . IDENT_0 . server . types . IDENT_4 . IDENT_5 . IDENT_6 . IDENT_14 ) ) < 0 ) { context . METHOD_7 ( IDENT_9 , java . lang . Long . toString ( min ) ) ; return min ; } try { return com . IDENT_0 . server . types . IDENT_4 . IDENT_5 . IDENT_6 . METHOD_3 ( max , min , IDENT_12 . METHOD_8 ( ) , context ) ; } catch ( java . lang . IDENT_15 e ) { long ret = IDENT_12 . METHOD_9 ( 0 , IDENT_16 . IDENT_17 ) . METHOD_10 ( ) ; context . METHOD_7 ( IDENT_9 , java . lang . Long . toString ( ret ) ) ; return com . IDENT_0 . server . types . IDENT_4 . IDENT_5 . IDENT_6 . METHOD_3 ( max , min , ret , context ) ; } } }
org . junit . Assert . assertEquals ( input , expected , actual )