METHOD_0 ( ) { java . lang . String name = STRING_0 ; org . apache . IDENT_0 . rest . IDENT_1 . collection . Entity payload = new org . apache . IDENT_0 . rest . IDENT_1 . collection . Entity ( ) ; payload . put ( "name" , name ) ; org . apache . IDENT_0 . rest . IDENT_1 . collection . Entity user = this . app ( ) . collection ( STRING_1 ) . METHOD_1 ( payload ) ; "<AssertPlaceHolder>" ; this . METHOD_2 ( ) ; org . apache . IDENT_0 . rest . IDENT_1 . collection . Entity IDENT_2 = this . app ( ) . collection ( STRING_1 ) . entity ( user ) . get ( ) ; } get ( java . lang . Integer ) { if ( id == null ) { return null ; } switch ( id ) { case 0 : return org . apache . IDENT_0 . IDENT_3 . runner . IDENT_4 . IDENT_5 . IDENT_6 ; case 1 : return org . apache . IDENT_0 . IDENT_3 . runner . IDENT_4 . IDENT_5 . IDENT_7 ; case 2 : return org . apache . IDENT_0 . IDENT_3 . runner . IDENT_4 . IDENT_5 . IDENT_8 ; case 3 : return org . apache . IDENT_0 . IDENT_3 . runner . IDENT_4 . IDENT_5 . IDENT_9 ; } throw new java . lang . RuntimeException ( STRING_2 ) ; }
org . junit . Assert . assertEquals ( user . get ( "name" ) , name )