simple ( ) { METHOD_0 ( STRING_0 ) ; java . util . List < io . IDENT_0 . maven . IDENT_1 . config . IDENT_2 > IDENT_3 = handler . resolve ( IDENT_4 , project , session ) ; "<AssertPlaceHolder>" ; METHOD_1 ( IDENT_3 . get ( 0 ) . METHOD_2 ( ) ) ; } resolve ( io . IDENT_0 . maven . IDENT_1 . config . IDENT_2 , org . apache . maven . project . IDENT_5 , org . apache . maven . IDENT_6 . IDENT_7 ) { METHOD_3 ( IDENT_8 , project ) ; io . IDENT_0 . maven . IDENT_1 . config . handler . Map < java . lang . String , java . lang . String > IDENT_9 = IDENT_8 . METHOD_4 ( ) ; if ( IDENT_9 != null ) { java . lang . String type = IDENT_9 . get ( STRING_1 ) ; if ( type == null ) { throw new java . lang . IllegalArgumentException ( ( ( IDENT_8 . METHOD_5 ( ) ) + STRING_2 ) ) ; } io . IDENT_0 . maven . IDENT_1 . config . handler . IDENT_10 handler = registry . get ( type ) ; if ( handler == null ) { throw new java . lang . IllegalArgumentException ( ( ( ( ( IDENT_8 . METHOD_5 ( ) ) + STRING_3 ) + type ) + STRING_4 ) ) ; } return handler . resolve ( IDENT_8 , project , session ) ; } else { return io . IDENT_0 . maven . IDENT_1 . config . handler . Collections . singletonList ( IDENT_8 ) ; } }
org . junit . Assert . assertEquals ( 1 , IDENT_3 . size ( ) )