METHOD_0 ( ) { com . spotify . IDENT_0 . storage . IDENT_1 storage = new com . spotify . IDENT_0 . storage . METHOD_1 ( datastore , java . time . IDENT_2 . IDENT_3 , IDENT_4 , executor ) ; com . spotify . IDENT_0 . storage . IDENT_1 transaction = datastore . METHOD_2 ( ) ; com . spotify . IDENT_0 . storage . IDENT_1 IDENT_5 = METHOD_3 ( new com . spotify . IDENT_0 . storage . METHOD_4 ( transaction ) ) ; when ( IDENT_4 . apply ( any ( ) ) ) . thenReturn ( IDENT_5 ) ; com . spotify . IDENT_0 . storage . IDENT_1 IDENT_6 = new com . google . cloud . datastore . METHOD_5 ( 1 , "" , "" ) ; com . spotify . IDENT_0 . storage . IDENT_1 IDENT_7 = new com . spotify . IDENT_0 . storage . METHOD_6 ( IDENT_6 ) ; when ( IDENT_8 . apply ( any ( ) ) ) . METHOD_7 ( IDENT_7 ) ; try { storage . METHOD_8 ( IDENT_8 ) ; org . junit . Assert . fail ( STRING_0 ) ; } catch ( com . spotify . IDENT_0 . storage . IDENT_9 e ) { "<AssertPlaceHolder>" ; } verify ( IDENT_8 ) . apply ( IDENT_5 ) ; verify ( IDENT_5 ) . METHOD_9 ( ) ; } METHOD_10 ( ) { return IDENT_10 ; }
org . junit . Assert . assertThat ( e . METHOD_10 ( ) , org . hamcrest . Matchers . is ( IDENT_6 ) )