### Question:
OrderController extends RestActionSupport implements ModelDriven<Object> { public HttpHeaders show() { return new DefaultHttpHeaders("show"); }  HttpHeaders show(); HttpHeaders index(); String destroy(); HttpHeaders create(); String update(); void setId(String id); Object getModel();  }### Answer:
@Test public void testShow() throws Exception { ActionProxy proxy = getActionProxy("GET", "/data/order/3.json"); OrderController orderController = (OrderController) proxy.getAction(); orderController.setId("3"); proxy.execute(); Object model = orderController.getModel(); assertThat(model, notNullValue()); assertThat(model, is(instanceOf(Order.class))); Order order = (Order) model; assertThat(order.getClientName(), is(equalTo("Bob"))); assertThat(order.getAmount(), is(equalTo(33))); }