METHOD_0 ( ) { org . IDENT_0 . api . app . IDENT_1 . IDENT_2 resource = IDENT_3 . METHOD_1 ( STRING_0 ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String ) { org . springframework . IDENT_4 . IDENT_5 . IDENT_6 IDENT_7 = new org . springframework . IDENT_4 . IDENT_5 . METHOD_2 ( ) { public java . lang . Object METHOD_3 ( org . hibernate . IDENT_8 session ) throws org . hibernate . IDENT_9 { org . hibernate . Query q = session . METHOD_4 ( org . IDENT_0 . component . app . IDENT_1 . IDENT_10 . IDENT_11 ) ; q . METHOD_5 ( org . IDENT_0 . component . app . IDENT_1 . IDENT_10 . IDENT_12 , ( IDENT_13 == null ? null : IDENT_13 . toLowerCase ( ) ) ) ; if ( ( q . list ( ) . size ( ) ) == 0 ) { return null ; } else { return ( ( org . IDENT_0 . api . app . IDENT_1 . IDENT_2 ) ( q . list ( ) . get ( 0 ) ) ) ; } } } ; org . IDENT_0 . api . app . IDENT_1 . IDENT_2 resource = ( ( org . IDENT_0 . api . app . IDENT_1 . IDENT_2 ) ( METHOD_6 ( ) . execute ( IDENT_7 ) ) ) ; return resource ; }
org . junit . Assert . assertNull ( resource )