    @Test
    public void testCreate() throws Exception {

        request.setParameter("clientName", "Grace Hopper");
        request.setParameter("amount", "85");
        ActionProxy proxy = getActionProxy("POST", "/data/order.json");
        OrderController orderController = (OrderController) proxy.getAction();

        proxy.execute();

        assertThat(orderController.hasFieldErrors(), is(false));

        Object model = orderController.getModel();
        assertThat(model, notNullValue());
        assertThat(model, is(instanceOf(Order.class)));

        Order order = (Order) model;
        assertThat(order.getClientName(), is(equalTo("Grace Hopper")));
        assertThat(order.getAmount(), is(equalTo(85)));
    }