METHOD_0 ( ) { org . eclipse . IDENT_0 . IDENT_1 . core . IDENT_2 task = mock ( org . eclipse . IDENT_0 . IDENT_1 . core . IDENT_2 . class ) ; org . eclipse . IDENT_0 . IDENT_3 . IDENT_1 . mapper . IDENT_4 . IDENT_5 . IDENT_6 mapping = new org . eclipse . IDENT_0 . IDENT_3 . IDENT_1 . mapper . IDENT_4 . IDENT_5 . METHOD_1 ( task ) ; METHOD_2 ( new org . mockito . IDENT_7 . IDENT_8 < java . lang . Object > ( ) { @ org . eclipse . IDENT_0 . IDENT_3 . IDENT_1 . mapper . IDENT_4 . Override public java . lang . Object METHOD_3 ( org . mockito . IDENT_9 . IDENT_10 IDENT_9 ) throws java . lang . Throwable { org . eclipse . IDENT_0 . IDENT_3 . IDENT_1 . mapper . IDENT_4 . IDENT_11 IDENT_12 = ( ( org . eclipse . IDENT_0 . IDENT_3 . IDENT_1 . mapper . IDENT_4 . IDENT_11 ) ( IDENT_9 . METHOD_4 ( ) [ 3 ] ) ) ; IDENT_12 . collect ( STRING_0 , ( ( java . lang . String ) ( IDENT_9 . METHOD_4 ( ) [ 1 ] ) ) ) ; return null ; } } ) . when ( IDENT_13 ) . search ( eq ( task ) , anyString ( ) , METHOD_5 ( ) , any ( org . eclipse . IDENT_0 . IDENT_3 . IDENT_1 . mapper . IDENT_4 . IDENT_11 . class ) ) ; mapper . METHOD_6 ( mapping , new org . eclipse . core . runtime . METHOD_7 ( ) ) ; "<AssertPlaceHolder>" ; } METHOD_8 ( ) { return IDENT_14 ; }
org . junit . Assert . assertEquals ( 1 , mapping . METHOD_8 ( ) . size ( ) )