METHOD_0 ( ) { final org . eclipse . IDENT_0 . report . engine . api . IDENT_1 IDENT_2 = org . mockito . Mockito . mock ( org . eclipse . IDENT_0 . report . engine . api . IDENT_1 . class ) ; org . mockito . Mockito . when ( IDENT_2 . METHOD_1 ( ) ) . thenReturn ( IDENT_3 . IDENT_4 ) ; final java . lang . Object input = new java . lang . String [ ] { STRING_0 } ; final java . lang . Object result = nl . IDENT_5 . IDENT_6 . IDENT_7 . report . IDENT_0 . IDENT_8 . METHOD_2 ( IDENT_2 , input ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( org . eclipse . IDENT_0 . report . engine . api . IDENT_1 , java . lang . Object ) { final java . lang . Object result ; if ( IDENT_9 instanceof java . lang . String ) { result = nl . IDENT_5 . IDENT_6 . IDENT_7 . report . IDENT_0 . IDENT_8 . METHOD_3 ( IDENT_10 , ( ( java . lang . String ) ( IDENT_9 ) ) ) ; } else if ( IDENT_9 instanceof java . lang . String [ ] ) { final java . lang . String [ ] IDENT_11 = ( ( java . lang . String [ ] ) ( IDENT_9 ) ) ; result = ( ( IDENT_11 . length ) == 0 ) ? null : nl . IDENT_5 . IDENT_6 . IDENT_7 . report . IDENT_0 . IDENT_8 . METHOD_3 ( IDENT_10 , IDENT_11 [ 0 ] ) ; } else { result = IDENT_9 ; } return result ; }
org . junit . Assert . assertEquals ( STRING_0 , result )