METHOD_0 ( ) { for ( org . IDENT_0 . tools . io . IDENT_1 output : new org . IDENT_0 . tools . io . IDENT_1 [ ] { org . IDENT_0 . tools . io . IDENT_1 . METHOD_1 ( ) , org . IDENT_0 . tools . io . IDENT_1 . METHOD_2 ( ) , org . IDENT_0 . tools . io . IDENT_1 . METHOD_3 ( ) , org . IDENT_0 . tools . io . IDENT_1 . METHOD_4 ( ) } ) { org . IDENT_0 . tools . io . IDENT_1 IDENT_2 = org . IDENT_0 . tools . io . IDENT_1 . METHOD_5 ( output ) ; "<AssertPlaceHolder>" ; } } METHOD_5 ( org . IDENT_0 . tools . io . IDENT_1 [ ] ) { if ( ( output == null ) || ( ( output . length ) == 0 ) ) { return org . IDENT_0 . tools . io . IDENT_1 . METHOD_1 ( ) ; } if ( ( output . length ) == 1 ) { return output [ 0 ] ; } java . util . Set < org . IDENT_0 . tools . io . IDENT_1 > IDENT_3 = new java . util . HashSet ( ) ; boolean IDENT_4 = false ; for ( org . IDENT_0 . tools . io . IDENT_1 item : output ) { if ( item instanceof org . IDENT_0 . tools . io . IDENT_5 ) { java . util . Collections . addAll ( IDENT_3 , ( ( org . IDENT_0 . tools . io . IDENT_5 ) ( item ) ) . output ) ; IDENT_4 = true ; } else if ( item == ( IDENT_6 . IDENT_7 ) ) { IDENT_4 = true ; } else if ( ! ( IDENT_3 . add ( item ) ) ) { IDENT_4 = true ; } } if ( ! IDENT_4 ) { return new org . IDENT_0 . tools . io . METHOD_6 ( output ) ; } if ( ( IDENT_3 . size ( ) ) == 0 ) { return org . IDENT_0 . tools . io . IDENT_1 . METHOD_1 ( ) ; } if ( ( IDENT_3 . size ( ) ) == 1 ) { return IDENT_3 . iterator ( ) . next ( ) ; } return new org . IDENT_0 . tools . io . METHOD_6 ( IDENT_3 . toArray ( new org . IDENT_0 . tools . io . IDENT_1 [ IDENT_3 . size ( ) ] ) ) ; }
org . junit . Assert . assertSame ( output , IDENT_2 )