METHOD_0 ( ) { com . spotify . IDENT_0 . model . IDENT_1 IDENT_2 = com . spotify . IDENT_0 . model . IDENT_1 . create ( "test" , com . spotify . IDENT_0 . storage . IDENT_3 ) ; storage . store ( IDENT_2 ) ; com . spotify . IDENT_0 . storage . IDENT_4 tx = new com . spotify . IDENT_0 . storage . METHOD_1 ( com . spotify . IDENT_0 . storage . IDENT_5 . datastore . METHOD_2 ( ) ) ; java . util . Optional < com . spotify . IDENT_0 . model . IDENT_1 > IDENT_6 = tx . METHOD_3 ( METHOD_3 . id ( ) ) ; tx . commit ( ) ; "<AssertPlaceHolder>" ; } is ( com . spotify . IDENT_0 . api . IDENT_7 ) { return new org . hamcrest . IDENT_8 < com . spotify . IDENT_0 . api . IDENT_9 . IDENT_10 > ( ) { @ com . spotify . IDENT_0 . api . Override MOD_0 boolean METHOD_4 ( com . spotify . IDENT_0 . api . IDENT_9 . IDENT_10 item ) { return ( item . METHOD_5 ( ) ) == ( version . METHOD_5 ( ) ) ; } @ com . spotify . IDENT_0 . api . Override public void METHOD_6 ( org . hamcrest . IDENT_11 description ) { description . METHOD_7 ( STRING_0 ) ; description . METHOD_8 ( version ) ; } } ; }
org . junit . Assert . assertThat ( IDENT_6 , org . hamcrest . Matchers . is ( java . util . Optional . of ( METHOD_3 ) ) )