METHOD_0 ( ) { final org . apache . olingo . commons . api . IDENT_0 . IDENT_1 IDENT_2 = org . apache . olingo . server . core . serializer . json . IDENT_3 . IDENT_4 . METHOD_1 ( STRING_0 ) ; final org . apache . olingo . commons . api . data . Entity entity = data . METHOD_2 ( IDENT_2 ) . METHOD_3 ( ) . get ( 0 ) ; final org . apache . olingo . server . api . uri . IDENT_5 . IDENT_6 IDENT_7 = org . apache . olingo . server . core . serializer . IDENT_8 . METHOD_4 ( IDENT_2 , STRING_1 ) ; org . apache . olingo . server . api . uri . IDENT_5 . IDENT_6 IDENT_9 = org . mockito . Mockito . mock ( org . apache . olingo . server . api . uri . IDENT_5 . IDENT_6 . class ) ; org . mockito . Mockito . when ( IDENT_9 . METHOD_5 ( ) ) . thenReturn ( true ) ; final org . apache . olingo . server . api . uri . IDENT_5 . IDENT_10 select = org . apache . olingo . server . core . serializer . IDENT_8 . METHOD_6 ( java . util . Arrays . asList ( IDENT_7 , IDENT_9 ) ) ; java . io . InputStream result = serializer . entity ( org . apache . olingo . server . core . serializer . json . IDENT_3 . metadata , IDENT_2 . METHOD_7 ( ) , entity , org . apache . olingo . server . api . serializer . IDENT_11 . with ( ) . METHOD_8 ( org . apache . olingo . commons . api . data . IDENT_12 . with ( ) . METHOD_9 ( IDENT_2 ) . METHOD_10 ( IDENT_13 . IDENT_14 ) . build ( ) ) . select ( select ) . build ( ) ) . METHOD_11 ( ) ; final java . lang . String IDENT_15 = org . apache . commons . io . IDENT_16 . toString ( result ) ; final java . lang . String IDENT_17 = STRING_2 + ( STRING_3 + STRING_4 ) ; "<AssertPlaceHolder>" ; } toString ( boolean ) { return METHOD_12 ( IDENT_18 ) ; }
org . junit . Assert . assertEquals ( IDENT_17 , IDENT_15 )