METHOD_0 ( ) { IDENT_0 . start . IDENT_1 IDENT_2 = new IDENT_0 . start . METHOD_1 ( ) ; IDENT_0 . IDENT_3 IDENT_4 = new IDENT_0 . METHOD_2 ( STRING_0 , STRING_1 , INT_0 ) ; IDENT_0 . IDENT_3 IDENT_5 = new IDENT_0 . METHOD_2 ( STRING_2 , STRING_1 , INT_0 ) ; IDENT_2 . add ( IDENT_4 ) ; IDENT_2 . add ( IDENT_5 ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( int ) { IDENT_0 . models . IDENT_3 result = null ; try ( java . sql . IDENT_6 IDENT_7 = conn . METHOD_4 ( STRING_3 ) ) { IDENT_7 . METHOD_5 ( 1 , id ) ; try ( java . sql . ResultSet rs = IDENT_7 . METHOD_6 ( ) ) { if ( rs . next ( ) ) { result = new IDENT_0 . models . METHOD_7 ( rs . getString ( "name" ) , rs . getString ( STRING_4 ) , rs . METHOD_8 ( STRING_5 ) . getTime ( ) ) ; result . setId ( rs . METHOD_9 ( STRING_6 ) ) ; } } } catch ( java . sql . IDENT_8 e ) { IDENT_0 . start . METHOD_1 . LOG . error ( e . getMessage ( ) , e ) ; } return result ; }
org . junit . Assert . assertThat ( IDENT_2 . METHOD_3 ( IDENT_5 . getId ( ) ) , org . hamcrest . core . Is . is ( IDENT_5 ) )