METHOD_0 ( ) { user . setId ( INT_0 ) ; when ( IDENT_0 . METHOD_1 ( STRING_0 , STRING_1 ) ) . thenReturn ( user ) ; when ( config . getValue ( IDENT_1 . IDENT_2 ) ) . thenReturn ( STRING_2 ) ; when ( config . getValue ( IDENT_1 . IDENT_3 ) ) . thenReturn ( STRING_3 ) ; when ( config . getValue ( IDENT_1 . IDENT_4 ) ) . thenReturn ( STRING_4 ) ; when ( IDENT_0 . METHOD_2 ( INT_0 ) ) . thenReturn ( STRING_5 ) ; when ( IDENT_0 . METHOD_3 ( STRING_5 ) ) . thenReturn ( STRING_6 ) ; IDENT_5 . METHOD_4 ( STRING_0 , STRING_1 , true , null ) ; verify ( IDENT_6 ) . METHOD_5 ( ) ; verify ( IDENT_6 ) . METHOD_6 ( STRING_2 , "1" ) ; verify ( IDENT_6 ) . METHOD_6 ( STRING_3 , STRING_6 ) ; verify ( IDENT_6 ) . METHOD_6 ( STRING_4 , STRING_7 ) ; "<AssertPlaceHolder>" ; } METHOD_7 ( ) { return this . IDENT_7 ; }
org . junit . Assert . assertEquals ( STRING_5 , user . METHOD_7 ( ) )