METHOD_0 ( ) { com . google . IDENT_0 . api . datastore . IDENT_1 key = org . IDENT_2 . datastore . IDENT_3 . put ( IDENT_4 , null , new com . google . IDENT_0 . api . datastore . Entity ( STRING_0 ) ) ; org . IDENT_2 . datastore . IDENT_5 < org . IDENT_2 . datastore . model . IDENT_6 > query = new org . IDENT_2 . datastore . IDENT_5 < org . IDENT_2 . datastore . model . IDENT_6 > ( IDENT_4 , meta ) ; "<AssertPlaceHolder>" ; } METHOD_0 ( ) { query . METHOD_1 ( ) ; java . util . List < com . google . IDENT_0 . api . datastore . Entity > IDENT_7 = METHOD_2 ( ) ; java . util . List < com . google . IDENT_0 . api . datastore . IDENT_1 > ret = new java . util . ArrayList < com . google . IDENT_0 . api . datastore . IDENT_1 > ( IDENT_7 . size ( ) ) ; for ( com . google . IDENT_0 . api . datastore . Entity e : IDENT_7 ) { ret . add ( e . getKey ( ) ) ; } return ret ; }
org . junit . Assert . assertThat ( query . METHOD_0 ( ) , org . hamcrest . CoreMatchers . is ( java . util . Arrays . asList ( key ) ) )