METHOD_0 ( ) { org . IDENT_0 . IDENT_1 . IDENT_2 IDENT_3 = mock ( org . IDENT_0 . IDENT_1 . IDENT_2 . class ) ; org . IDENT_0 . common . model . IDENT_4 IDENT_5 = org . IDENT_0 . common . model . IDENT_4 . create ( 16 , 16 , IDENT_6 . IDENT_7 ) ; for ( int i = 0 ; i < ( INT_0 * 3 ) ; i += 3 ) { IDENT_5 . METHOD_1 ( 0 ) [ i ] = ( ( byte ) ( INT_1 - INT_2 ) ) ; IDENT_5 . METHOD_1 ( 0 ) [ ( i + 1 ) ] = ( ( byte ) ( INT_3 - INT_2 ) ) ; IDENT_5 . METHOD_1 ( 0 ) [ ( i + 2 ) ] = ( ( byte ) ( INT_4 - INT_2 ) ) ; } when ( IDENT_3 . METHOD_2 ( any ( android . IDENT_8 . IDENT_9 . class ) ) ) . thenReturn ( IDENT_5 ) ; org . IDENT_0 . common . model . IDENT_4 expected = org . IDENT_0 . common . model . IDENT_4 . create ( 16 , 16 , IDENT_6 . IDENT_10 ) ; java . util . Arrays . METHOD_3 ( expected . METHOD_1 ( 0 ) , ( ( byte ) ( INT_5 - INT_2 ) ) ) ; java . util . Arrays . METHOD_3 ( expected . METHOD_1 ( 1 ) , ( ( byte ) ( INT_6 - INT_2 ) ) ) ; java . util . Arrays . METHOD_3 ( expected . METHOD_1 ( 2 ) , ( ( byte ) ( INT_7 - INT_2 ) ) ) ; org . IDENT_0 . common . IDENT_11 util = new org . IDENT_0 . common . METHOD_4 ( IDENT_3 ) ; android . IDENT_8 . IDENT_9 mock = mock ( android . IDENT_8 . IDENT_9 . class ) ; when ( mock . METHOD_5 ( ) ) . thenReturn ( IDENT_9 . IDENT_12 . IDENT_13 ) ; when ( mock . METHOD_6 ( ) ) . thenReturn ( 16 ) ; when ( mock . METHOD_7 ( ) ) . thenReturn ( 16 ) ; org . IDENT_0 . common . model . IDENT_4 res = util . METHOD_2 ( mock , IDENT_6 . IDENT_10 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( android . IDENT_8 . IDENT_9 , org . IDENT_0 . common . model . IDENT_4 ) { if ( IDENT_14 == null ) throw new java . lang . IllegalArgumentException ( STRING_0 ) ; if ( out == null ) throw new java . lang . IllegalArgumentException ( STRING_1 ) ; if ( ( IDENT_14 . METHOD_5 ( ) ) != ( IDENT_9 . IDENT_12 . IDENT_13 ) ) { throw new java . lang . RuntimeException ( ( STRING_2 + ( IDENT_14 . METHOD_5 ( ) ) ) ) ; } org . IDENT_0 . common . model . IDENT_4 IDENT_15 = IDENT_3 . METHOD_2 ( IDENT_14 ) ; org . IDENT_0 . IDENT_1 . IDENT_16 transform = org . IDENT_0 . IDENT_1 . IDENT_17 . METHOD_8 ( IDENT_6 . IDENT_7 , out . METHOD_9 ( ) ) ; transform . transform ( IDENT_15 , out ) ; }
org . junit . Assert . assertEquals ( expected , res )