METHOD_0 ( ) { com . google . IDENT_0 . api . IDENT_1 . set ( STRING_0 ) ; com . google . IDENT_0 . api . datastore . Entity IDENT_2 = new com . google . IDENT_0 . api . datastore . Entity ( "foo" ) ; service . put ( IDENT_2 ) ; com . google . IDENT_0 . api . IDENT_1 . set ( STRING_1 ) ; com . google . IDENT_0 . api . datastore . Entity IDENT_3 = new com . google . IDENT_0 . api . datastore . Entity ( "foo" ) ; service . put ( IDENT_3 ) ; com . google . IDENT_0 . api . datastore . Query query = new com . google . IDENT_0 . api . datastore . Query ( "foo" ) ; com . google . IDENT_0 . api . IDENT_1 . set ( STRING_0 ) ; com . google . IDENT_0 . api . datastore . IDENT_4 IDENT_5 = service . METHOD_1 ( query ) ; "<AssertPlaceHolder>" ; service . delete ( IDENT_2 . getKey ( ) ) ; service . delete ( IDENT_3 . getKey ( ) ) ; } METHOD_2 ( ) { java . util . Iterator < com . google . IDENT_0 . api . datastore . Entity > iterator = METHOD_3 ( ) ; com . google . IDENT_0 . api . datastore . Entity IDENT_6 = ( iterator . hasNext ( ) ) ? iterator . next ( ) : null ; if ( iterator . hasNext ( ) ) { throw new org . jboss . IDENT_7 . datastore . query . METHOD_4 ( ) ; } return IDENT_6 ; }
org . junit . Assert . assertEquals ( IDENT_3 , IDENT_5 . METHOD_2 ( ) )