METHOD_0 ( ) { group . METHOD_1 ( IDENT_0 . IDENT_1 ) ; final cc . IDENT_2 . core . shared . dto . IDENT_3 result = IDENT_4 . METHOD_2 ( user , group ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( cc . IDENT_2 . domain . User , cc . IDENT_2 . domain . IDENT_5 ) { final cc . IDENT_2 . domain . IDENT_6 IDENT_7 = IDENT_8 . METHOD_3 ( ) ; if ( ! ( cc . IDENT_2 . domain . User . METHOD_4 ( IDENT_9 ) ) ) { throw new cc . IDENT_2 . core . client . errors . METHOD_5 ( ) ; } final cc . IDENT_2 . core . shared . domain . IDENT_0 IDENT_10 = IDENT_8 . METHOD_6 ( ) ; if ( IDENT_10 == null ) { throw new cc . IDENT_2 . core . server . error . METHOD_7 ( STRING_0 ) ; } final cc . IDENT_2 . domain . IDENT_5 IDENT_11 = IDENT_9 . METHOD_8 ( ) ; METHOD_9 ( IDENT_11 , IDENT_7 ) ; if ( METHOD_10 ( IDENT_10 ) ) { IDENT_7 . METHOD_11 ( IDENT_11 ) ; IDENT_12 . METHOD_12 ( IDENT_8 , IDENT_8 , STRING_1 , STRING_2 ) ; IDENT_13 . METHOD_13 ( IDENT_11 ) ; IDENT_13 . METHOD_13 ( IDENT_8 ) ; return cc . IDENT_2 . core . shared . dto . IDENT_3 . IDENT_14 ; } else if ( METHOD_14 ( IDENT_10 ) ) { if ( IDENT_8 . METHOD_15 ( ) . equals ( IDENT_15 . IDENT_16 ) ) { IDENT_7 . METHOD_16 ( IDENT_11 ) ; IDENT_8 . METHOD_17 ( IDENT_15 . IDENT_17 ) ; IDENT_8 . METHOD_1 ( IDENT_0 . IDENT_18 ) ; METHOD_18 ( IDENT_8 , cc . IDENT_2 . domain . IDENT_5 . class ) ; } else { IDENT_7 . METHOD_19 ( IDENT_11 ) ; } IDENT_13 . METHOD_13 ( IDENT_11 ) ; IDENT_13 . METHOD_13 ( IDENT_8 ) ; return cc . IDENT_2 . core . shared . dto . IDENT_3 . IDENT_19 ; } else if ( METHOD_20 ( IDENT_10 ) ) { return cc . IDENT_2 . core . shared . dto . IDENT_3 . IDENT_20 ; } else { throw new cc . IDENT_2 . core . client . errors . METHOD_21 ( STRING_3 ) ; } }
org . junit . Assert . assertEquals ( result , IDENT_3 . IDENT_20 )