METHOD_0 ( ) { gov . hhs . fha . nhinc . IDENT_0 . adapter . model . IDENT_1 params = new gov . hhs . fha . nhinc . IDENT_0 . adapter . model . METHOD_1 ( ) ; params . METHOD_2 ( java . util . Arrays . asList ( STRING_0 ) ) ; params . METHOD_3 ( STRING_0 ) ; params . METHOD_4 ( STRING_0 ) ; params . METHOD_5 ( true ) ; params . METHOD_6 ( java . util . Arrays . asList ( STRING_0 ) ) ; metadata . METHOD_7 ( true ) ; metadata . METHOD_6 ( STRING_0 ) ; metadata . METHOD_8 ( INT_0 ) ; metadata . METHOD_4 ( STRING_0 ) ; metadata . METHOD_9 ( STRING_1 ) ; metadata . METHOD_3 ( STRING_0 ) ; metadata . METHOD_10 ( STRING_0 ) ; gov . hhs . fha . nhinc . IDENT_0 . adapter . dao . IDENT_2 . IDENT_3 . save ( metadata ) ; java . util . List < gov . hhs . fha . nhinc . IDENT_0 . adapter . model . IDENT_4 > data = gov . hhs . fha . nhinc . IDENT_0 . adapter . dao . IDENT_2 . IDENT_3 . METHOD_11 ( params ) ; "<AssertPlaceHolder>" ; } METHOD_11 ( gov . hhs . fha . nhinc . IDENT_0 . adapter . model . METHOD_1 ) { gov . hhs . fha . nhinc . IDENT_0 . adapter . dao . IDENT_5 . LOG . debug ( STRING_2 ) ; gov . hhs . fha . nhinc . IDENT_0 . adapter . model . METHOD_1 parameters = params ; if ( parameters == null ) { parameters = new gov . hhs . fha . nhinc . IDENT_0 . adapter . model . METHOD_1 ( ) ; } java . util . List < gov . hhs . fha . nhinc . IDENT_0 . adapter . model . IDENT_4 > IDENT_6 = new java . util . ArrayList ( ) ; org . hibernate . IDENT_7 IDENT_8 = null ; try { IDENT_8 = METHOD_12 ( ) ; if ( IDENT_8 != null ) { org . hibernate . IDENT_9 criteria = IDENT_8 . METHOD_13 ( gov . hhs . fha . nhinc . IDENT_0 . adapter . model . IDENT_4 . class ) ; java . lang . String IDENT_10 = parameters . METHOD_14 ( ) ; if ( IDENT_10 != null ) { criteria . add ( org . hibernate . IDENT_11 . IDENT_12 . eq ( STRING_3 , IDENT_10 ) ) ; } java . util . List < java . lang . String > IDENT_13 = parameters . METHOD_15 ( ) ; if ( org . apache . commons . collections . IDENT_14 . METHOD_16 ( IDENT_13 ) ) { gov . hhs . fha . nhinc . IDENT_0 . adapter . dao . IDENT_5 . LOG . debug ( STRING_4 , IDENT_13 ) ; criteria . add ( org . hibernate . IDENT_11 . IDENT_12 . in ( STRING_5 , IDENT_13 ) ) ; } java . util . List < java . lang . String > IDENT_15 = parameters . METHOD_17 ( ) ; if ( org . apache . commons . collections . IDENT_14 . METHOD_16 ( IDENT_15 ) ) { gov . hhs . fha . nhinc . IDENT_0 . adapter . dao . IDENT_5 . LOG . debug ( STRING_6 , IDENT_15 ) ; criteria . add ( org . hibernate . IDENT_11 . IDENT_12 . in ( gov . hhs . fha . nhinc . IDENT_0 . adapter . dao . IDENT_5 . IDENT_16 , IDENT_15 ) ) ; } java . lang . Boolean IDENT_17 = parameters . METHOD_18 ( ) ; if ( IDENT_17 != null ) { gov . hhs . fha . nhinc . IDENT_0 . adapter . dao . IDENT_5 . LOG . debug ( STRING_7 , IDENT_17 ) ; criteria . add ( org . hibernate . IDENT_11 . IDENT_12 . eq ( STRING_8 , IDENT_17 ) ) ; } gov . hhs . fha . nhinc . IDENT_0 . adapter . dao . IDENT_5 . METHOD_19 ( parameters , criteria ) ; gov . hhs . fha . nhinc . IDENT_0 . adapter . dao . IDENT_5 . METHOD_20 ( parameters , criteria ) ; gov . hhs . fha . nhinc . IDENT_0 . adapter . dao . IDENT_5 . METHOD_21 ( parameters , criteria ) ; IDENT_6 = criteria . list ( ) ; gov . hhs . fha . nhinc . IDENT_0 . adapter . dao . IDENT_5 . LOG . debug ( STRING_9 , IDENT_6 . size ( ) ) ; } else { gov . hhs . fha . nhinc . IDENT_0 . adapter . dao . IDENT_5 . LOG . error ( STRING_10 ) ; } } finally { gov . hhs . fha . nhinc . util . IDENT_18 . METHOD_22 ( IDENT_8 ) ; } return IDENT_6 ; }
org . junit . Assert . assertEquals ( 1 , data . size ( ) )