METHOD_0 ( ) { com . IDENT_0 . IDENT_1 . IDENT_2 . core . components . extension . IDENT_3 . internal . models . v1 . IDENT_4 IDENT_5 = ( ( com . IDENT_0 . IDENT_1 . IDENT_2 . core . components . extension . IDENT_3 . internal . models . v1 . IDENT_4 ) ( METHOD_1 ( com . IDENT_0 . IDENT_1 . IDENT_2 . core . components . extension . IDENT_3 . internal . models . v1 . IDENT_6 . IDENT_7 ) ) ) ; java . io . IDENT_8 writer = new java . io . StringWriter ( ) ; com . fasterxml . jackson . databind . IDENT_9 mapper = new com . fasterxml . jackson . databind . METHOD_2 ( ) ; mapper . METHOD_3 ( com . IDENT_0 . IDENT_1 . IDENT_2 . core . components . extension . IDENT_3 . internal . models . v1 . IDENT_4 . class ) . METHOD_4 ( writer , IDENT_5 ) ; javax . json . IDENT_10 IDENT_11 = javax . json . IDENT_12 . METHOD_5 ( org . apache . commons . io . IDENT_13 . METHOD_6 ( writer . toString ( ) ) ) ; javax . json . IDENT_10 IDENT_14 = javax . json . IDENT_12 . METHOD_5 ( com . IDENT_0 . IDENT_1 . IDENT_2 . core . components . extension . IDENT_3 . internal . models . v1 . IDENT_6 . class . getResourceAsStream ( STRING_0 ) ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String ) { java . lang . String path = ( ( com . IDENT_0 . IDENT_1 . IDENT_2 . core . components . extension . IDENT_3 . internal . models . v1 . IDENT_6 . IDENT_15 ) + "/" ) + name ; org . apache . IDENT_16 . api . resource . IDENT_17 resolver = com . IDENT_0 . IDENT_1 . IDENT_2 . core . components . extension . IDENT_3 . internal . models . v1 . IDENT_6 . IDENT_18 . METHOD_7 ( ) ; org . apache . IDENT_16 . api . resource . IDENT_19 resource = resolver . getResource ( path ) ; org . apache . IDENT_16 . testing . mock . IDENT_16 . servlet . IDENT_20 request = new org . apache . IDENT_16 . testing . mock . IDENT_16 . servlet . METHOD_8 ( resolver , com . IDENT_0 . IDENT_1 . IDENT_2 . core . components . extension . IDENT_3 . internal . models . v1 . IDENT_6 . IDENT_18 . METHOD_9 ( ) ) ; request . METHOD_10 ( resource ) ; org . apache . IDENT_16 . api . IDENT_21 . IDENT_22 IDENT_23 = new org . apache . IDENT_16 . api . IDENT_21 . METHOD_11 ( ) ; IDENT_23 . put ( METHOD_11 . IDENT_24 , resolver ) ; IDENT_23 . put ( METHOD_11 . IDENT_25 , resource ) ; IDENT_23 . put ( IDENT_26 . IDENT_27 , resource . METHOD_12 ( org . apache . IDENT_16 . api . resource . IDENT_28 . class ) ) ; request . METHOD_13 ( org . apache . IDENT_16 . api . IDENT_21 . METHOD_11 . class . getName ( ) , IDENT_23 ) ; return request . METHOD_12 ( com . IDENT_0 . IDENT_1 . IDENT_2 . core . components . extension . IDENT_3 . models . IDENT_29 . class ) ; }
org . junit . Assert . assertEquals ( IDENT_14 . read ( ) , IDENT_11 . read ( ) )