METHOD_0 ( ) { io . IDENT_0 . rest . model . IDENT_1 . IDENT_2 data = new io . IDENT_0 . rest . model . IDENT_1 . METHOD_1 ( ) ; data . setId ( INT_0 ) ; data . setName ( STRING_0 ) ; when ( IDENT_3 . METHOD_2 ( ) ) . thenReturn ( 200 ) ; when ( IDENT_3 . as ( io . IDENT_0 . rest . model . IDENT_1 . METHOD_1 . class ) ) . thenReturn ( data ) ; io . IDENT_0 . rest . model . IDENT_4 < io . IDENT_0 . rest . model . IDENT_1 . METHOD_1 > response = io . IDENT_0 . rest . model . IDENT_5 . METHOD_3 ( IDENT_3 , ( ) -> IDENT_3 . as ( . class ) ) ; "<AssertPlaceHolder>" ; } data ( ) { return data ; }
org . junit . Assert . assertThat ( response . data ( ) , org . hamcrest . CoreMatchers . equalTo ( data ) )