METHOD_0 ( ) { org . IDENT_0 . IDENT_1 . model . entity . IDENT_2 user = mock ( org . IDENT_0 . IDENT_1 . model . entity . IDENT_2 . class ) ; when ( user . METHOD_1 ( ) ) . METHOD_2 ( new org . hibernate . METHOD_3 ( 0L , org . IDENT_0 . IDENT_1 . model . entity . IDENT_2 . class . getName ( ) ) ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( org . IDENT_0 . IDENT_1 . model . entity . IDENT_2 ) { if ( user != null ) { try { return ( user . METHOD_1 ( ) ) != null ; } catch ( org . hibernate . METHOD_3 ex ) { org . IDENT_0 . IDENT_1 . web . IDENT_3 . IDENT_4 . LOGGER . warn ( STRING_0 , ex ) ; return false ; } } return false ; }
org . junit . Assert . assertFalse ( org . IDENT_0 . IDENT_1 . web . IDENT_3 . IDENT_4 . METHOD_4 ( user ) )