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>" ; } getResource ( java . lang . String ) { com . google . cloud . datastore . Entity entity = datastore . get ( datastore . METHOD_2 ( ) . METHOD_3 ( com . spotify . IDENT_0 . storage . IDENT_4 ) . METHOD_4 ( id ) ) ; if ( entity == null ) { return java . util . Optional . empty ( ) ; } return java . util . Optional . of ( METHOD_5 ( entity ) ) ; }
org . junit . Assert . assertThat ( storage . getResource ( com . spotify . IDENT_0 . storage . IDENT_1 . IDENT_2 . id ( ) ) , org . hamcrest . Matchers . is ( java . util . Optional . of ( com . spotify . IDENT_0 . storage . IDENT_1 . IDENT_2 ) ) )