@@ -0,0 +1,529 @@
+package cane.brothers.restlet.demo.test;%0A%0Aimport static org.junit.Assert.assertEquals;%0A%0Aimport java.io.IOException;%0A%0Aimport org.junit.Test;%0Aimport org.restlet.resource.ClientResource;%0Aimport org.restlet.resource.ResourceException;%0A%0Apublic class TestDemoStringResource %7B%0A%0A%09@Test%0A%09public void test() throws ResourceException, IOException %7B%0A%09%09final ClientResource cr = new ClientResource(%22http://localhost:8000%22);%0A%09%09String responce = cr.get().getText();%0A%09%09String message = %22Hello, world!%22;%0A%0A%09%09assertEquals(responce, message);%0A%09%7D%0A%0A%7D%0A

add jUnit test for annotated demo