METHOD_0 ( ) { com . amazon . IDENT_0 . servlet . IDENT_1 servlet = new com . amazon . IDENT_0 . servlet . METHOD_1 ( com . amazon . IDENT_0 . servlet . IDENT_2 . IDENT_3 , java . util . Collections . emptyList ( ) ) ; com . amazon . IDENT_0 . model . Response response = com . amazon . IDENT_0 . model . Response . builder ( ) . build ( ) ; com . amazon . IDENT_0 . model . IDENT_4 IDENT_5 = com . amazon . IDENT_0 . model . IDENT_4 . builder ( ) . METHOD_2 ( response ) . build ( ) ; when ( com . amazon . IDENT_0 . servlet . IDENT_2 . IDENT_3 . invoke ( any ( ) ) ) . thenReturn ( IDENT_5 ) ; java . time . IDENT_6 IDENT_7 = java . time . IDENT_6 . METHOD_3 ( new java . util . Date ( ) . METHOD_4 ( ) , java . time . IDENT_8 . METHOD_5 ( ) ) ; com . amazon . IDENT_0 . model . IDENT_9 request = com . amazon . IDENT_0 . model . IDENT_9 . builder ( ) . METHOD_6 ( STRING_0 ) . METHOD_7 ( com . amazon . IDENT_0 . servlet . IDENT_2 . IDENT_10 ) . METHOD_8 ( IDENT_7 ) . build ( ) ; com . amazon . IDENT_0 . servlet . IDENT_11 IDENT_12 = build ( com . amazon . IDENT_0 . servlet . IDENT_13 , request , METHOD_9 ( ) ) ; servlet . METHOD_10 ( IDENT_12 . request , IDENT_12 . response ) ; byte [ ] output = IDENT_12 . output . toByteArray ( ) ; "<AssertPlaceHolder>" ; } METHOD_10 ( javax . servlet . http . IDENT_14 , javax . servlet . http . IDENT_15 ) { byte [ ] IDENT_16 = org . apache . commons . io . IDENT_17 . toByteArray ( request . METHOD_11 ( ) ) ; try { final com . amazon . IDENT_0 . model . IDENT_18 IDENT_19 = serializer . METHOD_12 ( org . apache . commons . io . IDENT_17 . toString ( IDENT_16 , IDENT_20 . IDENT_21 ) , com . amazon . IDENT_0 . model . IDENT_18 . class ) ; for ( com . amazon . IDENT_0 . servlet . IDENT_22 . IDENT_23 IDENT_24 : IDENT_22 ) { IDENT_24 . verify ( request , IDENT_16 , IDENT_19 ) ; } com . amazon . IDENT_0 . model . IDENT_4 IDENT_25 = IDENT_3 . invoke ( IDENT_19 ) ; response . METHOD_13 ( STRING_1 ) ; response . METHOD_14 ( IDENT_15 . IDENT_26 ) ; if ( IDENT_25 != null ) { byte [ ] IDENT_27 = serializer . serialize ( IDENT_25 ) . getBytes ( IDENT_28 . UTF_8 ) ; try ( final java . io . IDENT_29 out = response . METHOD_15 ( ) ) { response . METHOD_16 ( IDENT_27 . length ) ; out . write ( IDENT_27 ) ; } } } catch ( java . lang . IDENT_30 ex ) { int IDENT_31 = javax . servlet . http . IDENT_15 . IDENT_32 ; com . amazon . IDENT_0 . servlet . METHOD_1 . log . error ( STRING_2 , IDENT_31 , ex ) ; response . METHOD_17 ( IDENT_31 , ex . getMessage ( ) ) ; } catch ( com . amazon . IDENT_0 . exception . IDENT_33 ex ) { int IDENT_31 = javax . servlet . http . IDENT_15 . IDENT_34 ; com . amazon . IDENT_0 . servlet . METHOD_1 . log . error ( STRING_3 , IDENT_31 , ex ) ; response . METHOD_17 ( IDENT_31 , ex . getMessage ( ) ) ; } }
org . junit . Assert . assertTrue ( ( ( output . length ) > 0 ) )