METHOD_0 ( ) { doReturn ( Boolean . IDENT_0 ) . when ( db ) . contains ( STRING_0 ) ; METHOD_1 ( ) . when ( db ) . update ( any ( org . IDENT_1 . support . IDENT_2 . class ) ) ; org . IDENT_1 . support . IDENT_3 . IDENT_4 repo = new org . IDENT_1 . support . IDENT_3 . METHOD_2 ( db ) ; repo . METHOD_3 ( ) ; org . IDENT_1 . support . IDENT_5 < org . IDENT_1 . support . IDENT_2 > ac = org . IDENT_1 . support . IDENT_5 . METHOD_4 ( org . IDENT_1 . support . IDENT_2 . class ) ; verify ( db ) . update ( ac . METHOD_5 ( ) ) ; org . IDENT_1 . support . IDENT_2 IDENT_6 = ac . getValue ( ) ; "<AssertPlaceHolder>" ; } getId ( ) { return id ; }
org . junit . Assert . assertEquals ( STRING_0 , IDENT_6 . getId ( ) )