METHOD_0 ( ) { org . IDENT_0 . IDENT_1 . client . IDENT_2 context = org . mockito . Mockito . mock ( org . IDENT_0 . IDENT_1 . client . IDENT_2 . class ) ; org . IDENT_0 . IDENT_1 . client . persistence . IDENT_3 IDENT_4 = org . mockito . Mockito . mock ( org . IDENT_0 . IDENT_1 . client . persistence . IDENT_3 . class ) ; org . mockito . Mockito . when ( context . METHOD_1 ( ) ) . thenReturn ( IDENT_4 ) ; org . mockito . Mockito . when ( IDENT_4 . exists ( org . IDENT_0 . IDENT_1 . client . configuration . base . IDENT_5 . IDENT_6 ) ) . thenReturn ( true ) ; org . mockito . Mockito . when ( IDENT_4 . METHOD_2 ( org . IDENT_0 . IDENT_1 . client . configuration . base . IDENT_5 . IDENT_6 ) ) . thenReturn ( new java . io . ByteArrayInputStream ( METHOD_3 ( ) ) ) ; org . IDENT_0 . IDENT_1 . client . configuration . base . IDENT_7 storage = new org . IDENT_0 . IDENT_1 . client . configuration . base . METHOD_4 ( context , org . IDENT_0 . IDENT_1 . client . configuration . base . IDENT_5 . IDENT_6 ) ; java . nio . ByteBuffer result = storage . METHOD_5 ( ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( ) { byte [ ] data = new byte [ ( INT_0 * INT_1 ) - 100 ] ; data [ 0 ] = INT_2 ; data [ ( ( data . length ) - 1 ) ] = INT_3 ; return data ; }
org . junit . Assert . assertTrue ( java . util . Arrays . equals ( result . array ( ) , METHOD_3 ( ) ) )