METHOD_0 ( ) { "<AssertPlaceHolder>" ; } METHOD_1 ( uk . ac . IDENT_0 . IDENT_1 . IDENT_2 . core . data . type . IDENT_3 , java . lang . String , java . lang . Integer ) { if ( ( IDENT_4 != null ) && ( IDENT_4 == 0 ) ) { return java . util . Collections . emptyList ( ) ; } org . hibernate . IDENT_5 criteria = METHOD_2 ( ) ; if ( IDENT_6 != null ) { criteria . add ( org . hibernate . IDENT_7 . IDENT_8 . eq ( STRING_0 , IDENT_6 ) ) ; } if ( query != null ) { criteria . add ( uk . ac . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_9 . util . IDENT_10 . METHOD_3 ( query , false , uk . ac . IDENT_0 . IDENT_1 . IDENT_2 . persistence . impl . IDENT_11 . IDENT_12 ) ) ; } if ( IDENT_4 != null ) { criteria . METHOD_4 ( IDENT_4 ) ; } @ uk . ac . IDENT_0 . IDENT_1 . IDENT_2 . persistence . impl . METHOD_5 ( STRING_1 ) java . util . List < uk . ac . IDENT_0 . IDENT_1 . IDENT_2 . core . data . IDENT_13 > results = criteria . list ( ) ; return results ; }
org . junit . Assert . assertEquals ( 0 , dao . METHOD_1 ( null , null , 0 ) . size ( ) )