METHOD_0 ( ) { com . IDENT_0 . client . IDENT_1 . transport . IDENT_2 transport = org . mockito . Mockito . mock ( com . IDENT_0 . client . IDENT_1 . transport . IDENT_2 . class ) ; com . IDENT_0 . client . IDENT_1 . IDENT_3 . IDENT_4 service = new com . IDENT_0 . client . IDENT_1 . IDENT_3 . METHOD_1 ( transport ) ; com . IDENT_0 . client . IDENT_1 . IDENT_3 . dto . IDENT_5 IDENT_6 = new com . IDENT_0 . client . IDENT_1 . IDENT_3 . dto . METHOD_2 ( new byte [ 20 ] ) ; com . IDENT_0 . client . IDENT_1 . IDENT_3 . messages . IDENT_7 IDENT_8 = org . mockito . Mockito . mock ( com . IDENT_0 . client . IDENT_1 . IDENT_3 . messages . IDENT_7 . class ) ; com . IDENT_0 . client . IDENT_1 . IDENT_3 . messages . IDENT_7 IDENT_9 = org . mockito . Mockito . mock ( com . IDENT_0 . client . IDENT_1 . IDENT_3 . messages . IDENT_7 . class ) ; org . mockito . Mockito . when ( IDENT_8 . METHOD_3 ( ) ) . thenReturn ( IDENT_10 . IDENT_11 . getValue ( ) ) ; org . mockito . Mockito . when ( IDENT_8 . METHOD_4 ( ) ) . thenReturn ( 1 ) ; org . mockito . Mockito . when ( IDENT_9 . METHOD_3 ( ) ) . thenReturn ( IDENT_10 . IDENT_12 . getValue ( ) ) ; org . mockito . Mockito . when ( IDENT_9 . METHOD_4 ( ) ) . thenReturn ( 2 ) ; java . util . List < com . IDENT_0 . client . IDENT_1 . IDENT_3 . IDENT_13 . IDENT_14 > IDENT_15 = new java . util . ArrayList ( ) ; java . util . List < com . IDENT_0 . client . IDENT_1 . IDENT_3 . IDENT_13 . IDENT_14 > IDENT_16 = new java . util . ArrayList ( ) ; com . IDENT_0 . client . IDENT_1 . IDENT_3 . IDENT_13 . IDENT_14 IDENT_17 = org . mockito . Mockito . mock ( com . IDENT_0 . client . IDENT_1 . IDENT_3 . IDENT_13 . IDENT_14 . class ) ; org . mockito . Mockito . when ( IDENT_17 . getName ( ) ) . thenReturn ( IDENT_18 . IDENT_19 . of ( STRING_0 ) ) ; org . mockito . Mockito . when ( IDENT_17 . METHOD_5 ( ) ) . thenReturn ( 1 ) ; IDENT_15 . add ( IDENT_17 ) ; com . IDENT_0 . client . IDENT_1 . IDENT_3 . IDENT_13 . IDENT_14 IDENT_20 = org . mockito . Mockito . mock ( com . IDENT_0 . client . IDENT_1 . IDENT_3 . IDENT_13 . IDENT_14 . class ) ; org . mockito . Mockito . when ( IDENT_20 . getName ( ) ) . thenReturn ( IDENT_18 . IDENT_19 . of ( null ) ) ; org . mockito . Mockito . when ( IDENT_20 . METHOD_5 ( ) ) . thenReturn ( 2 ) ; IDENT_16 . add ( IDENT_20 ) ; org . mockito . Mockito . when ( IDENT_8 . METHOD_6 ( ) ) . thenReturn ( IDENT_15 ) ; org . mockito . Mockito . when ( IDENT_9 . METHOD_6 ( ) ) . thenReturn ( IDENT_16 ) ; org . mockito . Mockito . when ( transport . call ( org . mockito . Mockito . any ( com . IDENT_0 . client . IDENT_1 . IDENT_3 . messages . IDENT_21 . class ) ) ) . thenReturn ( IDENT_8 ) . thenReturn ( IDENT_9 ) ; com . IDENT_0 . client . IDENT_1 . IDENT_3 . dto . IDENT_22 [ ] expected = new com . IDENT_0 . client . IDENT_1 . IDENT_3 . dto . IDENT_22 [ ] { new com . IDENT_0 . client . IDENT_1 . IDENT_3 . dto . METHOD_7 ( 1L , STRING_0 ) , new com . IDENT_0 . client . IDENT_1 . IDENT_3 . dto . METHOD_7 ( INT_0 , null ) } ; "<AssertPlaceHolder>" ; } METHOD_8 ( com . IDENT_0 . client . IDENT_1 . IDENT_3 . dto . METHOD_2 ) { final int IDENT_23 = INT_1 ; return METHOD_8 ( IDENT_24 , IDENT_23 ) ; }
org . junit . Assert . assertArrayEquals ( expected , service . METHOD_8 ( IDENT_6 ) )