METHOD_0 ( ) { storage . METHOD_1 ( ( tx ) -> { tx . store ( com . spotify . IDENT_0 . storage . IDENT_1 . IDENT_2 ) ; tx . store ( com . spotify . IDENT_0 . storage . IDENT_1 . IDENT_3 ) ; return null ; } ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( ) { final com . google . cloud . datastore . IDENT_4 query = com . google . cloud . datastore . Query . METHOD_3 ( ) . METHOD_4 ( com . spotify . IDENT_0 . storage . IDENT_5 ) . build ( ) ; final java . util . List < com . spotify . IDENT_0 . model . IDENT_6 > resources = com . google . common . collect . Lists . newArrayList ( ) ; datastore . query ( query , ( entity ) -> resources . add ( METHOD_5 ( entity ) ) ) ; return resources ; }
org . junit . Assert . assertThat ( storage . METHOD_2 ( ) , org . hamcrest . Matchers . is ( java . util . List . of ( com . spotify . IDENT_0 . storage . IDENT_1 . IDENT_2 , com . spotify . IDENT_0 . storage . IDENT_1 . IDENT_3 ) ) )