METHOD_0 ( ) { org . eclipse . IDENT_0 . core . types . IDENT_1 IDENT_2 = new org . eclipse . IDENT_0 . core . library . types . METHOD_1 ( STRING_0 ) ; org . eclipse . IDENT_0 . core . library . IDENT_3 . IDENT_4 IDENT_5 = new org . eclipse . IDENT_0 . core . library . IDENT_3 . METHOD_2 ( STRING_1 ) ; IDENT_5 . METHOD_3 ( STRING_1 ) ; IDENT_5 . METHOD_4 ( IDENT_2 ) ; when ( org . eclipse . IDENT_0 . ui . internal . IDENT_3 . IDENT_6 . registry . METHOD_5 ( STRING_1 ) ) . thenReturn ( IDENT_5 ) ; org . eclipse . IDENT_0 . model . IDENT_7 . IDENT_8 IDENT_9 = mock ( org . eclipse . IDENT_0 . model . IDENT_7 . IDENT_8 . class ) ; when ( IDENT_9 . METHOD_5 ( ) ) . thenReturn ( STRING_1 ) ; org . eclipse . IDENT_0 . model . IDENT_7 . IDENT_10 mapping = mock ( org . eclipse . IDENT_0 . model . IDENT_7 . IDENT_10 . class ) ; org . eclipse . IDENT_11 . common . util . IDENT_12 < org . eclipse . IDENT_0 . model . IDENT_7 . IDENT_10 > IDENT_13 = new org . eclipse . IDENT_11 . common . util . IDENT_12 < org . eclipse . IDENT_0 . model . IDENT_7 . IDENT_10 > ( ) ; IDENT_13 . add ( mapping ) ; when ( IDENT_9 . METHOD_6 ( ) ) . thenReturn ( IDENT_13 ) ; org . eclipse . IDENT_0 . core . types . IDENT_1 IDENT_14 = org . eclipse . IDENT_0 . ui . internal . IDENT_3 . IDENT_6 . IDENT_15 . METHOD_7 ( IDENT_9 ) ; "<AssertPlaceHolder>" ; } METHOD_7 ( org . eclipse . IDENT_0 . model . IDENT_7 . IDENT_16 ) { java . lang . String IDENT_17 = IDENT_18 . METHOD_5 ( ) ; if ( IDENT_17 != null ) { try { org . eclipse . IDENT_0 . core . IDENT_3 . IDENT_19 item = METHOD_5 ( IDENT_17 ) ; return METHOD_8 ( IDENT_18 , item , item . METHOD_7 ( ) ) ; } catch ( org . eclipse . IDENT_0 . core . IDENT_3 . IDENT_20 e ) { logger . error ( STRING_2 , new java . lang . Object [ ] { IDENT_17 , IDENT_18 . METHOD_9 ( ) . METHOD_10 ( ) } ) ; } } return org . eclipse . IDENT_0 . core . types . IDENT_21 . IDENT_22 ; }
org . junit . Assert . assertEquals ( IDENT_2 , IDENT_14 )