METHOD_0 ( ) { com . IDENT_0 . IDENT_1 . IDENT_2 . entity . IDENT_3 user = IDENT_4 . METHOD_1 ( STRING_0 ) ; boolean IDENT_5 = IDENT_6 . METHOD_2 ( user , IDENT_7 . IDENT_8 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( com . IDENT_0 . IDENT_1 . IDENT_2 . entity . IDENT_3 , com . IDENT_0 . IDENT_1 . IDENT_2 . service . IDENT_9 . IDENT_7 ) { METHOD_3 ( ) ; METHOD_4 ( ( user != null ) , STRING_1 ) ; METHOD_4 ( ( IDENT_10 != null ) , STRING_2 ) ; if ( user . METHOD_5 ( ) ) { return false ; } javax . persistence . IDENT_11 em = IDENT_12 . get ( ) ; com . IDENT_0 . IDENT_1 . IDENT_2 . entity . IDENT_13 record = com . IDENT_0 . IDENT_1 . IDENT_2 . entity . IDENT_13 . METHOD_6 ( em , user , IDENT_10 ) ; if ( record == null ) { record = new com . IDENT_0 . IDENT_1 . IDENT_2 . entity . METHOD_7 ( IDENT_14 , user , IDENT_10 , java . lang . System . currentTimeMillis ( ) ) ; } else { record . METHOD_8 ( java . lang . System . currentTimeMillis ( ) ) ; } record = METHOD_9 ( em , record ) ; em . METHOD_10 ( ) ; if ( record . METHOD_11 ( ) ) { return true ; } int IDENT_15 = com . IDENT_0 . IDENT_1 . IDENT_2 . entity . METHOD_7 . METHOD_12 ( em , user , IDENT_10 , ( ( java . lang . System . currentTimeMillis ( ) ) - ( com . IDENT_0 . IDENT_1 . IDENT_2 . service . IDENT_9 . IDENT_16 . IDENT_17 ) ) ) ; int IDENT_18 = com . IDENT_0 . IDENT_1 . IDENT_2 . entity . METHOD_7 . METHOD_12 ( em , user , null , ( ( java . lang . System . currentTimeMillis ( ) ) - ( com . IDENT_0 . IDENT_1 . IDENT_2 . service . IDENT_9 . IDENT_16 . IDENT_19 ) ) ) ; if ( IDENT_18 >= 15 ) { METHOD_13 ( user ) ; return true ; } if ( IDENT_15 > 0 ) { long IDENT_20 = METHOD_14 ( IDENT_15 , IDENT_10 ) ; METHOD_15 ( user , IDENT_10 , ( ( java . lang . System . currentTimeMillis ( ) ) + IDENT_20 ) ) ; return false ; } return false ; }
org . junit . Assert . assertFalse ( IDENT_5 )