METHOD_0 ( ) { org . apache . ibatis . session . IDENT_0 IDENT_1 = IDENT_2 . IDENT_3 . mapper . mapper . IDENT_4 . METHOD_1 ( ) ; try { IDENT_2 . IDENT_3 . mapper . mapper . IDENT_5 mapper = IDENT_1 . METHOD_2 ( IDENT_2 . IDENT_3 . mapper . mapper . IDENT_5 . class ) ; java . util . List < IDENT_2 . IDENT_3 . mapper . model . IDENT_6 > IDENT_7 = mapper . METHOD_3 ( STRING_0 ) ; "<AssertPlaceHolder>" ; } finally { IDENT_1 . close ( ) ; } } METHOD_3 ( org . apache . ibatis . mapping . IDENT_8 ) { final java . lang . Class < ? > IDENT_9 = METHOD_4 ( IDENT_10 ) ; METHOD_5 ( IDENT_10 , IDENT_9 ) ; java . lang . StringBuilder sql = new java . lang . StringBuilder ( ) ; sql . append ( IDENT_2 . IDENT_3 . mapper . IDENT_11 . IDENT_12 . METHOD_6 ( IDENT_9 ) ) ; sql . append ( IDENT_2 . IDENT_3 . mapper . IDENT_11 . IDENT_12 . METHOD_7 ( IDENT_9 , tableName ( IDENT_9 ) ) ) ; java . util . Set < IDENT_2 . IDENT_3 . mapper . entity . IDENT_13 > IDENT_14 = IDENT_2 . IDENT_3 . mapper . IDENT_11 . IDENT_15 . METHOD_8 ( IDENT_9 ) ; if ( ( IDENT_14 . size ( ) ) == 1 ) { IDENT_2 . IDENT_3 . mapper . entity . IDENT_13 column = IDENT_14 . iterator ( ) . next ( ) ; sql . append ( STRING_1 ) ; sql . append ( column . METHOD_9 ( ) ) ; sql . append ( STRING_2 ) ; } else { throw new IDENT_2 . IDENT_3 . mapper . METHOD_10 ( ( ( STRING_3 + ( IDENT_9 . METHOD_11 ( ) ) ) + STRING_4 ) ) ; } return sql . toString ( ) ; }
org . junit . Assert . assertEquals ( 3 , IDENT_7 . size ( ) )