METHOD_0 ( ) { org . apache . maven . IDENT_0 . IDENT_1 session = mock ( org . apache . maven . IDENT_0 . IDENT_1 . class ) ; org . apache . maven . IDENT_0 . IDENT_2 req = new org . apache . maven . IDENT_0 . METHOD_1 ( ) ; when ( session . METHOD_2 ( ) ) . thenReturn ( req ) ; org . apache . maven . IDENT_3 . IDENT_4 [ ] IDENT_5 = IDENT_6 . METHOD_3 ( STRING_0 , session ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( java . lang . String , org . apache . maven . IDENT_0 . IDENT_1 ) { java . util . List < org . apache . maven . IDENT_3 . IDENT_4 > IDENT_7 = new java . util . ArrayList ( ) ; org . apache . maven . IDENT_3 . IDENT_8 IDENT_9 = IDENT_10 . get ( type ) ; if ( IDENT_9 == null ) { logger . error ( ( ( STRING_1 + type ) + STRING_2 ) ) ; } else { java . util . List < org . apache . maven . IDENT_3 . model . IDENT_11 > IDENT_12 = context . METHOD_2 ( ) . METHOD_4 ( ) . get ( type ) ; if ( IDENT_12 != null ) { for ( org . apache . maven . IDENT_3 . model . IDENT_11 IDENT_13 : IDENT_12 ) { IDENT_7 . add ( IDENT_9 . METHOD_5 ( IDENT_13 ) ) ; } } org . apache . maven . IDENT_3 . IDENT_4 IDENT_14 = IDENT_9 . METHOD_6 ( ) ; if ( IDENT_14 != null ) { IDENT_7 . add ( IDENT_14 ) ; } } return IDENT_7 . toArray ( new org . apache . maven . IDENT_3 . IDENT_4 [ 0 ] ) ; }
org . junit . Assert . assertEquals ( 0 , IDENT_5 . length )