METHOD_0 ( ) { java . util . Properties props = new java . util . Properties ( ) ; doReturn ( props ) . when ( IDENT_0 ) . METHOD_1 ( eq ( STRING_0 ) ) ; java . util . Properties result = bean . METHOD_1 ( STRING_0 ) ; verify ( IDENT_0 , times ( 1 ) ) . METHOD_1 ( eq ( STRING_0 ) ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String ) { java . util . Properties properties = new java . util . Properties ( ) ; for ( org . oscm . IDENT_1 . IDENT_2 . IDENT_3 IDENT_4 : METHOD_2 ( ) ) { java . util . Properties IDENT_5 = IDENT_6 . METHOD_3 ( IDENT_4 . METHOD_4 ( ) , IDENT_7 ) ; javax . persistence . Query query = IDENT_8 . METHOD_5 ( METHOD_6 ( IDENT_4 ) ) ; java . util . List < java . lang . Object [ ] > result = org . oscm . converter . IDENT_9 . list ( query . METHOD_7 ( ) , java . lang . Object [ ] . class ) ; java . util . Map < java . lang . String , java . lang . String > IDENT_10 = new java . util . HashMap < java . lang . String , java . lang . String > ( ) ; for ( java . lang . Object [ ] entry : result ) { java . lang . String key = entry [ 0 ] . toString ( ) ; java . lang . String id = entry [ 1 ] . toString ( ) ; IDENT_10 . put ( ( ( ( IDENT_4 . toString ( ) ) + STRING_1 ) + key ) , ( ( ( IDENT_4 . toString ( ) ) + STRING_1 ) + id ) ) ; } if ( IDENT_5 != null ) { for ( java . lang . String key : IDENT_10 . METHOD_8 ( ) ) { java . lang . String id = IDENT_10 . get ( key ) ; java . lang . String value = IDENT_5 . getProperty ( key ) ; if ( value != null ) properties . put ( id , value ) ; } } } return properties ; }
org . junit . Assert . assertEquals ( props , result )