METHOD_0 ( ) { doReturn ( IDENT_0 ) . when ( IDENT_1 ) . METHOD_1 ( any ( org . oscm . ui . common . IDENT_2 . class ) ) ; doReturn ( IDENT_3 ) . when ( IDENT_1 ) . METHOD_2 ( any ( org . oscm . ui . common . IDENT_2 . class ) ) ; java . util . Properties properties = new java . util . Properties ( ) ; properties . put ( STRING_0 , "value" ) ; doReturn ( properties ) . when ( IDENT_3 ) . METHOD_3 ( anyString ( ) ) ; doReturn ( properties ) . when ( IDENT_0 ) . METHOD_4 ( anyString ( ) , anyString ( ) ) ; IDENT_1 . METHOD_5 ( STRING_0 ) ; java . lang . String value = ( ( java . lang . String ) ( IDENT_1 . METHOD_5 ( STRING_0 ) ) ) ; "<AssertPlaceHolder>" ; verify ( IDENT_0 , times ( 1 ) ) . METHOD_4 ( anyString ( ) , anyString ( ) ) ; } METHOD_5 ( java . lang . String ) { java . lang . Object value = IDENT_4 . METHOD_5 ( key ) ; if ( value != null ) { return value ; } return IDENT_5 . METHOD_5 ( key ) ; }
org . junit . Assert . assertEquals ( "value" , value )