METHOD_0 ( ) { com . spotify . IDENT_0 . storage . IDENT_1 tx = new com . spotify . IDENT_0 . storage . METHOD_1 ( com . spotify . IDENT_0 . storage . IDENT_2 . datastore . METHOD_2 ( ) ) ; com . spotify . IDENT_0 . util . IDENT_3 IDENT_4 = com . spotify . IDENT_0 . util . IDENT_3 . create ( STRING_0 , 0 , 1 ) ; com . spotify . IDENT_0 . util . IDENT_3 IDENT_5 = com . spotify . IDENT_0 . util . IDENT_3 . create ( STRING_0 , 1 , 1 ) ; tx . store ( IDENT_4 ) ; tx . store ( IDENT_5 ) ; tx . commit ( ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( java . lang . String ) { final java . util . List < com . google . cloud . datastore . IDENT_6 > IDENT_7 = java . util . stream . IDENT_8 . range ( 0 , com . spotify . IDENT_0 . storage . IDENT_9 ) . METHOD_4 ( ( index ) -> datastore . METHOD_5 ( ) . METHOD_6 ( com . spotify . IDENT_0 . storage . IDENT_10 ) . METHOD_7 ( java . lang . String . format ( STRING_1 , IDENT_11 , index ) ) ) . collect ( toList ( ) ) ; final java . util . Map < java . lang . Integer , java . lang . Long > IDENT_12 = new java . util . HashMap ( ) ; datastore . get ( IDENT_7 , ( IDENT_13 ) -> IDENT_12 . put ( ( ( int ) ( IDENT_13 . METHOD_8 ( com . spotify . IDENT_0 . storage . IDENT_14 ) ) ) , IDENT_13 . METHOD_8 ( com . spotify . IDENT_0 . storage . IDENT_15 ) ) ) ; return IDENT_12 ; }
org . junit . Assert . assertEquals ( storage . METHOD_3 ( STRING_0 ) . size ( ) , 2 )