METHOD_0 ( ) { com . IDENT_0 . IDENT_1 . service . IDENT_2 IDENT_3 = mock ( com . IDENT_0 . IDENT_1 . service . IDENT_2 . class ) ; com . IDENT_0 . core . IDENT_4 . model . IDENT_5 channel = new com . IDENT_0 . core . IDENT_4 . model . METHOD_1 ( ) ; channel . setId ( 1 ) ; channel . METHOD_2 ( 12 ) ; channel . METHOD_3 ( true ) ; when ( IDENT_3 . METHOD_4 ( any ( com . IDENT_0 . IDENT_1 . IDENT_6 . IDENT_7 . Integer . class ) , any ( java . lang . String . class ) ) ) . thenReturn ( channel ) ; when ( IDENT_3 . METHOD_5 ( any ( com . IDENT_0 . IDENT_1 . IDENT_6 . IDENT_7 . Integer . class ) , any ( com . IDENT_0 . IDENT_1 . IDENT_6 . IDENT_7 . Integer . class ) ) ) . thenReturn ( channel ) ; com . IDENT_0 . IDENT_1 . service . IDENT_8 IDENT_9 = mock ( com . IDENT_0 . IDENT_1 . service . IDENT_8 . class ) ; when ( IDENT_9 . METHOD_6 ( 1 , 0 , 12 , false ) ) . thenReturn ( METHOD_7 ( 12 ) ) ; com . IDENT_0 . IDENT_1 . IDENT_6 . IDENT_7 . IDENT_10 IDENT_7 = new com . IDENT_0 . IDENT_1 . IDENT_6 . IDENT_7 . METHOD_8 ( IDENT_3 , IDENT_9 ) ; IDENT_11 . METHOD_9 ( STRING_0 , IDENT_7 ) ; IDENT_6 . template . IDENT_12 template = IDENT_11 . METHOD_10 ( METHOD_11 ( STRING_1 ) ) ; java . util . Map < java . lang . String , java . lang . Object > params = new java . util . HashMap < java . lang . String , java . lang . Object > ( ) ; com . IDENT_0 . core . IDENT_4 . model . IDENT_13 IDENT_4 = new com . IDENT_0 . core . IDENT_4 . model . METHOD_12 ( ) ; IDENT_4 . setId ( 1 ) ; params . put ( IDENT_14 . IDENT_15 . toString ( ) , IDENT_4 ) ; params . put ( IDENT_14 . IDENT_16 . toString ( ) , channel ) ; java . lang . String value = process ( template , params ) ; value = org . apache . commons . lang . StringUtils . METHOD_13 ( value ) ; java . lang . StringBuilder expected = new java . lang . StringBuilder ( ) ; for ( int i = 0 ; i < 12 ; i ++ ) { expected . append ( ( i + 1 ) ) . append ( STRING_2 ) . append ( i ) ; } "<AssertPlaceHolder>" ; } toString ( ) { java . lang . StringBuffer IDENT_17 = new java . lang . StringBuffer ( ) ; IDENT_17 . append ( this . METHOD_14 ( ) ) . append ( STRING_3 ) . append ( this . METHOD_15 ( ) ) ; IDENT_17 . append ( STRING_4 ) . append ( this . IDENT_18 ) . append ( STRING_5 ) ; switch ( IDENT_19 ) { case com . IDENT_0 . content . document . util . IDENT_20 . IDENT_21 . IDENT_22 : IDENT_17 . append ( STRING_6 ) ; break ; case com . IDENT_0 . content . document . util . IDENT_20 . IDENT_21 . IDENT_23 : IDENT_17 . append ( STRING_7 ) ; break ; case com . IDENT_0 . content . document . util . IDENT_20 . IDENT_21 . IDENT_24 : IDENT_17 . append ( STRING_8 ) ; break ; case com . IDENT_0 . content . document . util . IDENT_20 . IDENT_21 . IDENT_25 : IDENT_17 . append ( STRING_9 ) ; break ; case com . IDENT_0 . content . document . util . IDENT_20 . IDENT_21 . IDENT_26 : IDENT_17 . append ( STRING_10 ) ; break ; case com . IDENT_0 . content . document . util . IDENT_20 . IDENT_21 . IDENT_27 : IDENT_17 . append ( STRING_11 ) ; break ; case com . IDENT_0 . content . document . util . IDENT_20 . IDENT_21 . IDENT_28 : IDENT_17 . append ( STRING_12 ) ; break ; } return IDENT_17 . toString ( ) ; }
org . junit . Assert . assertEquals ( expected . toString ( ) , value )