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 ( ) ) ; tx . METHOD_3 ( com . spotify . IDENT_0 . storage . IDENT_3 , com . spotify . IDENT_0 . storage . IDENT_4 . IDENT_5 ) ; tx . commit ( ) ; tx = new com . spotify . IDENT_0 . storage . METHOD_1 ( com . spotify . IDENT_0 . storage . IDENT_2 . datastore . METHOD_2 ( ) ) ; tx . METHOD_4 ( com . spotify . IDENT_0 . storage . IDENT_3 ) ; tx . commit ( ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( com . spotify . IDENT_0 . model . IDENT_6 ) { final com . google . cloud . datastore . Entity entity = datastore . get ( METHOD_6 ( instance ) ) ; if ( entity == null ) { return java . util . Optional . empty ( ) ; } else { return java . util . Optional . of ( com . spotify . IDENT_0 . storage . IDENT_7 . METHOD_7 ( entity , instance ) ) ; } }
org . junit . Assert . assertThat ( storage . METHOD_5 ( com . spotify . IDENT_0 . storage . IDENT_3 ) , org . hamcrest . Matchers . is ( java . util . Optional . empty ( ) ) )