MockRestServiceServer: how to mock a POST call with a body?
You can use content().string to verify body:
.andExpect(content().string(expectedContent))
Or content().bytes:
this.mockServer.expect(content().bytes("foo".getBytes()))
this.mockServer.expect(content().string("foo"))