METHOD_0 ( ) { com . google . cloud . datastore . Entity task ; com . google . cloud . datastore . IDENT_0 IDENT_1 = datastore . METHOD_1 ( ) ; try { task = IDENT_1 . get ( IDENT_2 ) ; if ( task == null ) { task = com . google . cloud . datastore . Entity . METHOD_2 ( IDENT_2 ) . build ( ) ; IDENT_1 . put ( task ) ; IDENT_1 . commit ( ) ; } } finally { if ( IDENT_1 . METHOD_3 ( ) ) { IDENT_1 . METHOD_4 ( ) ; } } "<AssertPlaceHolder>" ; } build ( ) { com . google . cloud . IDENT_3 . IDENT_4 . text . IDENT_5 out = new com . google . cloud . IDENT_3 . IDENT_4 . text . METHOD_5 ( ) ; out . IDENT_6 = this . IDENT_6 ; out . IDENT_7 = this . IDENT_7 ; return out ; }
org . junit . Assert . assertEquals ( task , datastore . get ( IDENT_2 ) )