METHOD_0 ( ) { org . eclipse . IDENT_0 . repository . web . api . v1 . IDENT_1 IDENT_2 = org . mockito . Mockito . mock ( org . eclipse . IDENT_0 . repository . web . api . v1 . IDENT_1 . class ) ; try { when ( IDENT_2 . METHOD_1 ( org . mockito . Matchers . eq ( STRING_0 ) , org . mockito . Matchers . any ( ) ) ) . thenReturn ( METHOD_2 ( ) ) ; when ( IDENT_2 . METHOD_3 ( org . mockito . Matchers . eq ( STRING_1 ) ) ) . thenReturn ( METHOD_4 ( ) ) ; org . eclipse . IDENT_0 . repository . web . core . IDENT_3 controller = new org . eclipse . IDENT_0 . repository . web . core . METHOD_5 ( ) ; controller . METHOD_6 ( IDENT_2 ) ; org . eclipse . IDENT_0 . mapping . engine . model . spec . IDENT_4 IDENT_5 = controller . METHOD_7 ( STRING_0 , "test" ) ; "<AssertPlaceHolder>" ; } catch ( java . io . IOException e ) { org . junit . Assert . fail ( STRING_2 ) ; } catch ( java . lang . Exception e ) { e . printStackTrace ( ) ; org . junit . Assert . fail ( STRING_3 ) ; } } METHOD_7 ( java . lang . String , java . lang . String ) { org . eclipse . IDENT_0 . repository . core . IDENT_6 IDENT_7 = IDENT_2 . METHOD_1 ( IDENT_8 , IDENT_9 ) ; org . eclipse . IDENT_0 . model . IDENT_10 IDENT_11 = ( ( org . eclipse . IDENT_0 . model . IDENT_10 ) ( IDENT_7 . METHOD_8 ( ) . get ( IDENT_7 . METHOD_9 ( ) ) ) ) ; if ( IDENT_11 == null ) { org . eclipse . IDENT_0 . repository . core . IDENT_6 IDENT_12 = IDENT_2 . METHOD_3 ( IDENT_8 ) ; IDENT_11 = ( ( org . eclipse . IDENT_0 . model . IDENT_10 ) ( IDENT_12 . METHOD_8 ( ) . get ( IDENT_12 . METHOD_9 ( ) ) ) ) ; } org . eclipse . IDENT_0 . mapping . engine . model . spec . IDENT_13 IDENT_14 = new org . eclipse . IDENT_0 . mapping . engine . model . spec . METHOD_10 ( ) ; IDENT_14 . METHOD_11 ( IDENT_11 ) ; for ( org . eclipse . IDENT_0 . model . IDENT_15 IDENT_16 : IDENT_11 . METHOD_12 ( ) ) { org . eclipse . IDENT_0 . model . IDENT_17 IDENT_18 = ( ( org . eclipse . IDENT_0 . model . IDENT_17 ) ( IDENT_16 . getType ( ) ) ) ; org . eclipse . IDENT_0 . model . IDENT_17 IDENT_19 = IDENT_16 . METHOD_13 ( ) ; org . eclipse . IDENT_0 . model . IDENT_20 IDENT_21 = null ; if ( IDENT_19 != null ) { IDENT_21 = METHOD_14 ( IDENT_18 . METHOD_15 ( ) , IDENT_19 . METHOD_15 ( ) ) ; } else { org . eclipse . IDENT_0 . repository . core . IDENT_6 IDENT_22 = IDENT_2 . METHOD_3 ( IDENT_18 . METHOD_15 ( ) ) ; IDENT_21 = ( ( org . eclipse . IDENT_0 . model . IDENT_20 ) ( IDENT_22 . METHOD_8 ( ) . get ( IDENT_22 . METHOD_9 ( ) ) ) ) ; } IDENT_14 . METHOD_16 ( ) . put ( IDENT_16 . getName ( ) , METHOD_17 ( IDENT_21 ) ) ; } return IDENT_14 ; }
org . junit . Assert . assertTrue ( ( IDENT_5 != null ) )