METHOD_0 ( ) { java . lang . String a = "a" ; java . lang . String b = "b" ; java . lang . String IDENT_0 = STRING_0 ; int IDENT_1 = INT_0 ; java . lang . String IDENT_2 = java . lang . String . format ( STRING_1 , IDENT_0 , IDENT_1 ) ; com . IDENT_3 . framework . IDENT_4 . IDENT_5 config = mock ( com . IDENT_3 . framework . IDENT_4 . IDENT_5 . class ) ; when ( config . getProperty ( eq ( a ) , anyString ( ) ) ) . thenReturn ( a ) ; when ( config . getProperty ( eq ( b ) , anyString ( ) ) ) . thenReturn ( b ) ; when ( config . getProperty ( eq ( java . lang . String . format ( STRING_2 , a , b ) ) , anyString ( ) ) ) . thenReturn ( IDENT_2 ) ; METHOD_1 ( IDENT_6 . IDENT_7 , config ) ; org . springframework . context . annotation . IDENT_8 context = new org . springframework . context . annotation . METHOD_2 ( com . IDENT_3 . framework . IDENT_4 . IDENT_9 . IDENT_10 . IDENT_11 . class ) ; com . IDENT_3 . framework . IDENT_4 . IDENT_9 . IDENT_10 . IDENT_12 bean = context . METHOD_3 ( com . IDENT_3 . framework . IDENT_4 . IDENT_9 . IDENT_10 . IDENT_12 . class ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( ) { return IDENT_2 ; }
org . junit . Assert . assertEquals ( IDENT_1 , bean . METHOD_4 ( ) )