METHOD_0 ( ) { org . IDENT_0 . IDENT_1 . repository . IDENT_2 IDENT_3 = METHOD_1 ( STRING_0 ) ; org . IDENT_0 . IDENT_1 . repository . IDENT_2 IDENT_4 = METHOD_1 ( STRING_1 ) ; org . IDENT_0 . IDENT_1 . repository . IDENT_2 IDENT_5 = METHOD_2 ( STRING_2 , IDENT_3 ) ; org . IDENT_0 . IDENT_1 . repository . group . IDENT_6 . IDENT_7 config = new org . IDENT_0 . IDENT_1 . repository . group . IDENT_6 . METHOD_3 ( ) ; config . IDENT_8 = com . google . common . collect . IDENT_9 . of ( IDENT_3 . getName ( ) , IDENT_4 . getName ( ) , IDENT_5 . getName ( ) ) ; org . IDENT_0 . IDENT_1 . repository . config . Configuration configuration = new org . IDENT_0 . IDENT_1 . repository . config . Configuration ( ) ; configuration . attributes ( org . IDENT_0 . IDENT_1 . repository . group . IDENT_6 . IDENT_10 ) . set ( STRING_3 , config . IDENT_8 ) ; when ( IDENT_11 . METHOD_4 ( configuration , org . IDENT_0 . IDENT_1 . repository . group . IDENT_6 . IDENT_10 , org . IDENT_0 . IDENT_1 . repository . group . IDENT_6 . METHOD_3 . class ) ) . thenReturn ( config ) ; IDENT_12 . METHOD_5 ( configuration ) ; "<AssertPlaceHolder>" ; } METHOD_6 ( ) { java . util . Set < org . IDENT_0 . IDENT_1 . repository . IDENT_2 > METHOD_6 = new java . util . METHOD_7 ( ) ; for ( org . IDENT_0 . IDENT_1 . repository . IDENT_2 repository : METHOD_8 ( ) ) { if ( IDENT_13 . equals ( repository . getType ( ) ) ) { METHOD_6 . addAll ( repository . METHOD_9 ( org . IDENT_0 . IDENT_1 . repository . group . IDENT_14 . class ) . METHOD_6 ( ) ) ; } else { METHOD_6 . add ( repository ) ; } } return new java . util . ArrayList ( METHOD_6 ) ; }
org . junit . Assert . assertThat ( IDENT_12 . METHOD_6 ( ) , org . hamcrest . Matchers . contains ( IDENT_3 , IDENT_4 ) )