    @Test
    @InSequence(1)
    @CitrusTest
    public void testPostAndGet(@CitrusResource TestCaseRunner citrus) {

        citrus.run(http()
            .client(serviceUri)
            .send()
            .post()
            .contentType(MediaType.APPLICATION_FORM_URLENCODED)
            .payload("name=Penny&age=20"));

        citrus.run(http()
            .client(serviceUri)
            .receive()
            .response(HttpStatus.NO_CONTENT));

        citrus.run(http()
            .client(serviceUri)
            .send()
            .post()
            .contentType(MediaType.APPLICATION_FORM_URLENCODED)
            .payload("name=Leonard&age=21"));

        citrus.run(http()
            .client(serviceUri)
            .receive()
            .response(HttpStatus.NO_CONTENT));

        citrus.run(http()
            .client(serviceUri)
            .send()
            .post()
            .contentType(MediaType.APPLICATION_FORM_URLENCODED)
            .payload("name=Sheldon&age=22"));

        citrus.run(http()
            .client(serviceUri)
            .receive()
            .response(HttpStatus.NO_CONTENT));

        citrus.run(http()
            .client(serviceUri)
            .send()
            .get()
            .accept(MediaType.APPLICATION_XML));

        citrus.run(http()
            .client(serviceUri)
            .receive()
            .response(HttpStatus.OK)
            .payload("<employees>" +
                       "<employee>" +
                         "<age>20</age>" +
                         "<name>Penny</name>" +
                        "</employee>" +
                        "<employee>" +
                          "<age>21</age>" +
                          "<name>Leonard</name>" +
                        "</employee>" +
                        "<employee>" +
                          "<age>22</age>" +
                          "<name>Sheldon</name>" +
                        "</employee>" +
                      "</employees>"));
    }