testHarness.addApplication(applicationProvider);
TestLogListener logListener = new TestLogListener();
testHarness.getLogReaderService().addLogListener(logListener);
ClientResource client = createResource("/junit/");
Representation result = client.put("Hello");
assertThat(result, is(notNullValue()));
System.out.println(result);
assertThat(logListener.entries.size(), is(not(0)));
assertThat(logListener.entries.get(logListener.entries.size() - 1).getMessage(), is("Hello"));