METHOD_0 ( ) { org . springframework . data . rest . IDENT_0 . jpa . IDENT_1 address = repository . save ( new org . springframework . data . rest . IDENT_0 . jpa . METHOD_1 ( ) ) ; org . springframework . http . IDENT_2 < ? > entity = controller . METHOD_2 ( METHOD_3 ( org . springframework . data . rest . IDENT_0 . jpa . METHOD_1 . class ) , address . id , IDENT_3 ) ; "<AssertPlaceHolder>" . METHOD_4 ( IDENT_4 . IDENT_5 ) ; } METHOD_3 ( java . lang . Class ) { org . springframework . util . Assert . METHOD_5 ( IDENT_6 , STRING_0 ) ; org . springframework . data . mapping . IDENT_7 < ? , ? > entity = IDENT_8 . METHOD_6 ( IDENT_6 ) ; return new org . springframework . data . rest . IDENT_0 . METHOD_7 ( IDENT_9 . METHOD_8 ( IDENT_6 ) , entity , IDENT_10 . METHOD_9 ( IDENT_6 ) ) ; }
org . junit . Assert . assertThat ( entity . getStatusCode ( ) )