@Test
public void testStringPost() throws ExecutionException, InterruptedException {
initiateWebApplication(ResourceString.class);
final ContainerResponse responseContext = apply(
RequestContextBuilder.
from("/", "POST").
cookie(new Cookie("arg1", "a")).
cookie(new Cookie("arg2", "b")).
cookie(new Cookie("arg3", "c")).
entity("content").build()
);
assertEquals("content", responseContext.getEntity());
}