index ( ) { com . IDENT_0 . IDENT_1 . api . IDENT_2 IDENT_3 = METHOD_0 ( ) ; IDENT_3 . METHOD_1 ( ) . METHOD_2 ( ) ; com . IDENT_4 . IDENT_5 . IDENT_1 . test . query . IDENT_6 IDENT_7 = IDENT_3 . create ( com . IDENT_4 . IDENT_5 . IDENT_1 . test . query . IDENT_6 . class ) ; IDENT_7 . setValue ( STRING_0 ) ; com . IDENT_4 . IDENT_5 . IDENT_1 . test . query . IDENT_6 IDENT_8 = IDENT_3 . create ( com . IDENT_4 . IDENT_5 . IDENT_1 . test . query . IDENT_6 . class ) ; IDENT_8 . setValue ( STRING_1 ) ; IDENT_3 . METHOD_1 ( ) . commit ( ) ; IDENT_3 . METHOD_1 ( ) . METHOD_2 ( ) ; com . IDENT_4 . IDENT_5 . IDENT_1 . test . query . IDENT_6 a = IDENT_3 . find ( com . IDENT_4 . IDENT_5 . IDENT_1 . test . query . IDENT_6 . class , STRING_0 ) . METHOD_3 ( ) ; "<AssertPlaceHolder>" ; try { IDENT_3 . find ( com . IDENT_4 . IDENT_5 . IDENT_1 . test . query . IDENT_6 . class , STRING_2 ) . METHOD_3 ( ) ; org . junit . Assert . fail ( ( STRING_3 + ( com . IDENT_0 . IDENT_1 . api . IDENT_9 . class . getName ( ) ) ) ) ; } catch ( com . IDENT_0 . IDENT_1 . api . IDENT_9 e ) { } IDENT_3 . METHOD_1 ( ) . commit ( ) ; } find ( com . IDENT_4 . IDENT_5 . IDENT_10 . IDENT_11 , com . IDENT_4 . IDENT_5 . IDENT_12 . IDENT_13 ) { if ( ( IDENT_14 ) != null ) { return IDENT_14 . find ( IDENT_15 , value ) ; } com . IDENT_4 . IDENT_5 . IDENT_12 . index . IDENT_16 IDENT_17 = METHOD_4 ( IDENT_15 ) ; if ( IDENT_17 == null ) { return null ; } com . IDENT_4 . IDENT_5 . IDENT_12 . IDENT_13 IDENT_18 = METHOD_5 ( value ) ; com . IDENT_4 . IDENT_5 . IDENT_12 . IDENT_13 IDENT_19 = METHOD_6 ( value ) ; return new com . IDENT_4 . IDENT_5 . IDENT_12 . index . METHOD_7 ( this , IDENT_17 , IDENT_18 , IDENT_19 ) ; }
org . junit . Assert . assertThat ( a , org . hamcrest . Matchers . equalTo ( IDENT_7 ) )