METHOD_0 ( ) { int id = 1 ; java . lang . String name = STRING_0 ; java . lang . String IDENT_0 = STRING_1 ; long IDENT_1 = INT_0 ; IDENT_2 = new com . baeldung . model . METHOD_1 ( id , name , IDENT_0 , IDENT_1 ) ; java . io . StringWriter IDENT_3 = new java . io . StringWriter ( ) ; java . io . IDENT_4 IDENT_5 = new java . io . METHOD_2 ( IDENT_3 ) ; when ( IDENT_6 . METHOD_3 ( ) ) . thenReturn ( IDENT_5 ) ; com . baeldung . IDENT_7 . IDENT_8 IDENT_9 = new com . baeldung . IDENT_7 . METHOD_4 ( ) ; IDENT_9 . METHOD_5 ( IDENT_10 , IDENT_6 ) ; java . lang . String IDENT_11 = IDENT_3 . METHOD_6 ( ) . toString ( ) . trim ( ) ; com . baeldung . model . METHOD_1 IDENT_12 = new com . google . gson . METHOD_7 ( ) . METHOD_8 ( IDENT_11 , com . baeldung . model . METHOD_1 . class ) ; "<AssertPlaceHolder>" ; } trim ( ) { engine . METHOD_9 ( new java . io . METHOD_10 ( com . baeldung . IDENT_13 . IDENT_14 . class . getResourceAsStream ( STRING_2 ) ) ) ; }
org . junit . Assert . assertEquals ( IDENT_12 , IDENT_2 )