METHOD_0 ( ) { when ( IDENT_0 . getType ( ) ) . thenReturn ( STRING_0 ) ; when ( IDENT_0 . getName ( ) ) . thenReturn ( "name" ) ; when ( IDENT_0 . METHOD_1 ( ) ) . thenReturn ( STRING_1 ) ; when ( IDENT_0 . METHOD_2 ( ) ) . thenReturn ( STRING_2 ) ; when ( IDENT_0 . METHOD_3 ( ) ) . thenReturn ( java . util . Arrays . asList ( "a" , "b" ) ) ; when ( IDENT_1 . METHOD_4 ( anyString ( ) , anyString ( ) ) ) . thenReturn ( IDENT_2 ) ; org . eclipse . IDENT_3 . core . IDENT_4 . IDENT_5 res = IDENT_6 . METHOD_5 ( IDENT_0 ) . build ( ) ; "<AssertPlaceHolder>" ; verify ( IDENT_1 ) . METHOD_4 ( eq ( STRING_0 ) , eq ( "name" ) ) ; verify ( IDENT_2 ) . METHOD_6 ( eq ( STRING_2 ) ) ; verify ( IDENT_2 ) . METHOD_7 ( eq ( java . util . Arrays . asList ( "a" , "b" ) ) ) ; verify ( IDENT_2 ) . METHOD_8 ( eq ( STRING_1 ) ) ; } build ( ) { return config ; }
org . junit . Assert . assertSame ( IDENT_2 , res )