METHOD_0 ( ) { final long IDENT_0 = 15 ; final org . bonitasoft . engine . page . IDENT_1 expected = new org . bonitasoft . engine . page . impl . METHOD_1 ( STRING_0 , INT_0 , INT_1 , true , org . bonitasoft . engine . page . impl . IDENT_2 . IDENT_3 ) ; expected . setId ( IDENT_0 ) ; when ( IDENT_4 . METHOD_2 ( new org . bonitasoft . engine . persistence . METHOD_3 ( org . bonitasoft . engine . page . IDENT_1 . class , IDENT_0 ) ) ) . thenReturn ( expected ) ; final org . bonitasoft . engine . page . IDENT_1 page = IDENT_5 . METHOD_0 ( IDENT_0 ) ; "<AssertPlaceHolder>" ; } METHOD_0 ( long ) { final org . bonitasoft . engine . page . IDENT_1 page = IDENT_6 . METHOD_2 ( new org . bonitasoft . engine . persistence . METHOD_3 ( org . bonitasoft . engine . page . IDENT_1 . class , IDENT_0 ) ) ; if ( page == null ) { throw new org . bonitasoft . engine . commons . exceptions . METHOD_4 ( ( ( STRING_1 + IDENT_0 ) + STRING_2 ) ) ; } return page ; }
org . junit . Assert . assertEquals ( expected , page )