METHOD_0 ( ) { final 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 ) ; final com . spotify . IDENT_0 . storage . IDENT_5 transaction = datastore . METHOD_2 ( ) ; final com . spotify . IDENT_0 . storage . IDENT_6 IDENT_7 = METHOD_3 ( new com . spotify . IDENT_0 . storage . METHOD_4 ( transaction ) ) ; when ( IDENT_4 . apply ( any ( ) ) ) . thenReturn ( IDENT_7 ) ; final java . lang . Exception IDENT_8 = new com . google . cloud . datastore . METHOD_5 ( 10 , "" , "" ) ; when ( IDENT_9 . apply ( any ( ) ) ) . METHOD_6 ( IDENT_8 ) ; try { storage . METHOD_7 ( IDENT_9 ) ; org . junit . Assert . fail ( STRING_0 ) ; } catch ( com . spotify . IDENT_0 . storage . IDENT_10 e ) { "<AssertPlaceHolder>" ; } verify ( IDENT_9 ) . apply ( IDENT_7 ) ; verify ( IDENT_7 , METHOD_8 ( ) ) . commit ( ) ; verify ( IDENT_7 ) . METHOD_9 ( ) ; } METHOD_10 ( ) { if ( ( ( METHOD_11 ( ) ) != null ) && ( ( METHOD_11 ( ) ) instanceof com . google . cloud . datastore . METHOD_5 ) ) { com . google . cloud . datastore . METHOD_5 IDENT_11 = ( ( com . google . cloud . datastore . METHOD_5 ) ( METHOD_11 ( ) ) ) ; return ( IDENT_11 . getCode ( ) ) == 10 ; } else { return false ; } }
org . junit . Assert . assertTrue ( e . METHOD_10 ( ) )