METHOD_0 ( ) { when ( datastore . METHOD_0 ( ) ) . thenReturn ( batch ) ; final com . google . cloud . datastore . IDENT_0 IDENT_1 = IDENT_2 . METHOD_0 ( ) ; verify ( datastore ) . METHOD_0 ( ) ; METHOD_1 ( datastore ) ; METHOD_2 ( datastore ) ; METHOD_3 ( IDENT_1 , batch ) ; IDENT_1 . METHOD_4 ( ) ; verify ( batch ) . METHOD_4 ( ) ; METHOD_1 ( batch ) ; METHOD_2 ( batch ) ; when ( batch . METHOD_5 ( ) ) . thenReturn ( datastore ) ; "<AssertPlaceHolder>" ; verify ( batch ) . METHOD_5 ( ) ; METHOD_1 ( batch ) ; } METHOD_5 ( ) { return datastore ; }
org . junit . Assert . assertThat ( IDENT_1 . METHOD_5 ( ) , org . hamcrest . Matchers . is ( datastore ) )