METHOD_0 ( ) { "<AssertPlaceHolder>" ; com . spotify . IDENT_0 . model . IDENT_1 IDENT_2 = METHOD_1 ( com . spotify . IDENT_0 . storage . IDENT_3 . IDENT_4 ) ; storage . store ( IDENT_2 ) ; final com . google . cloud . datastore . IDENT_5 IDENT_6 = com . spotify . IDENT_0 . storage . IDENT_7 . METHOD_2 ( datastore :: IDENT_8 , IDENT_2 . id ( ) ) ; final com . google . cloud . datastore . Entity entity = datastore . get ( IDENT_6 ) ; final com . google . cloud . datastore . Entity IDENT_9 = com . google . cloud . datastore . Entity . METHOD_3 ( entity ) . set ( STRING_0 , STRING_1 ) . build ( ) ; datastore . put ( IDENT_9 ) ; exception . expect ( java . io . IOException . class ) ; storage . METHOD_1 ( IDENT_2 . id ( ) ) ; } METHOD_4 ( ) { com . spotify . IDENT_0 . storage . IDENT_10 METHOD_4 = new java . util . HashMap < com . spotify . IDENT_0 . model . IDENT_11 , com . spotify . IDENT_0 . model . IDENT_1 > ( ) ; com . spotify . IDENT_0 . storage . IDENT_10 query = com . google . cloud . datastore . Query . METHOD_5 ( ) . METHOD_6 ( com . spotify . IDENT_0 . storage . IDENT_7 . IDENT_12 ) . build ( ) ; datastore . query ( query , ( entity ) -> { com . spotify . IDENT_0 . model . IDENT_1 METHOD_1 ; try { METHOD_1 = com . spotify . IDENT_0 . storage . IDENT_13 . METHOD_7 ( entity . getString ( com . spotify . IDENT_0 . storage . IDENT_7 . IDENT_14 ) , . class ) ; } catch ( e ) { com . spotify . IDENT_0 . storage . IDENT_7 . LOG . warn ( STRING_2 , entity . getKey ( ) , com . spotify . IDENT_0 . storage . e ) ; return ; } METHOD_4 . put ( METHOD_1 . id ( ) , METHOD_1 ) ; } ) ; return METHOD_4 ; }
org . junit . Assert . assertThat ( storage . METHOD_4 ( ) . isEmpty ( ) , org . hamcrest . Matchers . is ( true ) )