METHOD_0 ( ) { org . apache . IDENT_0 . image . loader . IDENT_1 is = org . apache . IDENT_2 . render . IDENT_3 . METHOD_1 ( ) ; java . awt . image . IDENT_4 IDENT_5 = mock ( java . awt . image . IDENT_4 . class ) ; org . apache . IDENT_0 . image . loader . impl . IDENT_6 IDENT_7 = mock ( org . apache . IDENT_0 . image . loader . impl . IDENT_6 . class ) ; when ( IDENT_7 . METHOD_2 ( ) ) . thenReturn ( IDENT_5 ) ; when ( IDENT_7 . METHOD_3 ( ) ) . thenReturn ( 8 ) ; when ( IDENT_7 . METHOD_4 ( ) ) . thenReturn ( is ) ; org . apache . IDENT_2 . render . IDENT_8 . IDENT_9 IDENT_10 = new org . apache . IDENT_2 . render . IDENT_8 . METHOD_5 ( IDENT_7 ) ; java . lang . String IDENT_11 = STRING_0 ; "<AssertPlaceHolder>" ; } METHOD_6 ( ) { org . apache . IDENT_0 . IDENT_8 . IDENT_12 IDENT_13 = new org . apache . IDENT_0 . IDENT_8 . METHOD_7 ( ) ; IDENT_13 . put ( STRING_1 , IDENT_14 . METHOD_4 ( ) . METHOD_8 ( ) ) ; int IDENT_15 = IDENT_14 . METHOD_9 ( ) ; switch ( IDENT_15 ) { case org . apache . IDENT_0 . image . codec . IDENT_16 . IDENT_17 . IDENT_18 : IDENT_13 . put ( STRING_2 , 0 ) ; break ; case org . apache . IDENT_0 . image . codec . IDENT_16 . IDENT_17 . IDENT_19 : IDENT_13 . put ( STRING_2 , 1 ) ; break ; case org . apache . IDENT_0 . image . codec . IDENT_16 . IDENT_17 . IDENT_20 : IDENT_13 . put ( STRING_2 , ( - 1 ) ) ; break ; default : throw new java . lang . IllegalStateException ( ( STRING_3 + IDENT_15 ) ) ; } return ( IDENT_13 . toString ( ) ) + STRING_4 ; }
org . junit . Assert . assertEquals ( IDENT_11 , IDENT_10 . METHOD_6 ( ) )